diff options
-rw-r--r-- | drivers/rtc/rtc-fm3130.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index bff3cdc5140e..4d4ad3fcb5e9 100644 --- a/drivers/rtc/rtc-fm3130.c +++ b/drivers/rtc/rtc-fm3130.c | |||
@@ -395,7 +395,7 @@ static int fm3130_probe(struct i2c_client *client, | |||
395 | 395 | ||
396 | tmp = i2c_transfer(adapter, fm3130->msg, 4); | 396 | tmp = i2c_transfer(adapter, fm3130->msg, 4); |
397 | if (tmp != 4) { | 397 | if (tmp != 4) { |
398 | pr_debug("read error %d\n", tmp); | 398 | dev_dbg(&client->dev, "read error %d\n", tmp); |
399 | err = -EIO; | 399 | err = -EIO; |
400 | goto exit_free; | 400 | goto exit_free; |
401 | } | 401 | } |