rtc: rtc-fm3130: use dev_dbg() instead of pr_debug()
dev_dbg() is preferred to pr_debug(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6df80e211b
commit
198b8ec844
|
@ -395,7 +395,7 @@ static int fm3130_probe(struct i2c_client *client,
|
|||
|
||||
tmp = i2c_transfer(adapter, fm3130->msg, 4);
|
||||
if (tmp != 4) {
|
||||
pr_debug("read error %d\n", tmp);
|
||||
dev_dbg(&client->dev, "read error %d\n", tmp);
|
||||
err = -EIO;
|
||||
goto exit_free;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue