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 77b3f24b7207..ecd1449b1eb6 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, | |||
287 | struct pca9633_platform_data *pdata; | 287 | struct pca9633_platform_data *pdata; |
288 | int i, err; | 288 | int i, err; |
289 | 289 | ||
290 | pdata = client->dev.platform_data; | 290 | pdata = dev_get_platdata(&client->dev); |
291 | 291 | ||
292 | if (!pdata) { | 292 | if (!pdata) { |
293 | pdata = pca9633_dt_init(client); | 293 | pdata = pca9633_dt_init(client); |