diff options
Diffstat (limited to 'drivers/mfd/88pm805.c')
-rw-r--r-- | drivers/mfd/88pm805.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/88pm805.c b/drivers/mfd/88pm805.c index 521602231c7b..0686cdb06b3e 100644 --- a/drivers/mfd/88pm805.c +++ b/drivers/mfd/88pm805.c | |||
@@ -227,7 +227,7 @@ static int pm805_probe(struct i2c_client *client, | |||
227 | { | 227 | { |
228 | int ret = 0; | 228 | int ret = 0; |
229 | struct pm80x_chip *chip; | 229 | struct pm80x_chip *chip; |
230 | struct pm80x_platform_data *pdata = client->dev.platform_data; | 230 | struct pm80x_platform_data *pdata = dev_get_platdata(&client->dev); |
231 | 231 | ||
232 | ret = pm80x_init(client); | 232 | ret = pm80x_init(client); |
233 | if (ret) { | 233 | if (ret) { |