diff options
Diffstat (limited to 'drivers/leds/leds-pca9633.c')
-rw-r--r-- | drivers/leds/leds-pca9633.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c index 77b3f24b720..ecd1449b1eb 100644 --- a/drivers/leds/leds-pca9633.c +++ b/drivers/leds/leds-pca9633.c @@ -287,7 +287,7 @@ static int pca9633_probe(struct i2c_client *client, struct pca9633_platform_data *pdata; int i, err; - pdata = client->dev.platform_data; + pdata = dev_get_platdata(&client->dev); if (!pdata) { pdata = pca9633_dt_init(client); |