projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: 88pm800: Fix potential NULL pdata dereference
[deliverable/linux.git]
/
drivers
/
mfd
/
88pm805.c
diff --git
a/drivers/mfd/88pm805.c
b/drivers/mfd/88pm805.c
index 521602231c7bc43c8ec007f078ae5c4d38bcaa7d..0686cdb06b3e7ef5f0a29efc3ba7035368811240 100644
(file)
--- a/
drivers/mfd/88pm805.c
+++ b/
drivers/mfd/88pm805.c
@@
-227,7
+227,7
@@
static int pm805_probe(struct i2c_client *client,
{
int ret = 0;
struct pm80x_chip *chip;
- struct pm80x_platform_data *pdata =
client->dev.platform_data
;
+ struct pm80x_platform_data *pdata =
dev_get_platdata(&client->dev)
;
ret = pm80x_init(client);
if (ret) {
This page took
0.030403 seconds
and
5
git commands to generate.