diff options
-rw-r--r-- | drivers/mfd/max14577.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index 1337c4527028..a5e1c370c609 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c | |||
@@ -96,8 +96,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c, | |||
96 | } | 96 | } |
97 | 97 | ||
98 | if (!pdata) { | 98 | if (!pdata) { |
99 | dev_err(&i2c->dev, "No platform data found: %ld\n", | 99 | dev_err(&i2c->dev, "No platform data found.\n"); |
100 | PTR_ERR(pdata)); | ||
101 | return -EINVAL; | 100 | return -EINVAL; |
102 | } | 101 | } |
103 | 102 | ||