Commit 198b8ec8 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

rtc: rtc-fm3130: use dev_dbg() instead of pr_debug()

dev_dbg() is preferred to pr_debug().
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6df80e21
...@@ -395,7 +395,7 @@ static int fm3130_probe(struct i2c_client *client, ...@@ -395,7 +395,7 @@ static int fm3130_probe(struct i2c_client *client,
tmp = i2c_transfer(adapter, fm3130->msg, 4); tmp = i2c_transfer(adapter, fm3130->msg, 4);
if (tmp != 4) { if (tmp != 4) {
pr_debug("read error %d\n", tmp); dev_dbg(&client->dev, "read error %d\n", tmp);
err = -EIO; err = -EIO;
goto exit_free; goto exit_free;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment