projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-v3.12' of git://git.infradead.org/battery-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mfd
/
wm8400-core.c
diff --git
a/drivers/mfd/wm8400-core.c
b/drivers/mfd/wm8400-core.c
index 639ca359242f849cebfe407333e6107c0bca4bbb..d66d256551fb77768fc9d458d5493c976ec25f30 100644
(file)
--- a/
drivers/mfd/wm8400-core.c
+++ b/
drivers/mfd/wm8400-core.c
@@
-178,7
+178,7
@@
static int wm8400_i2c_probe(struct i2c_client *i2c,
wm8400->dev = &i2c->dev;
i2c_set_clientdata(i2c, wm8400);
- ret = wm8400_init(wm8400,
i2c->dev.platform_data
);
+ ret = wm8400_init(wm8400,
dev_get_platdata(&i2c->dev)
);
if (ret != 0)
goto err;