From 5bc0370b1a6901a8f4d54bc226c25817694e2bd5 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Wed, 27 Mar 2013 10:25:33 +1100 Subject: [PATCH] rtc: rtc-fm3130: use dev_dbg() instead of pr_debug() dev_dbg() is preferred to pr_debug(). Signed-off-by: Jingoo Han Signed-off-by: Andrew Morton --- drivers/rtc/rtc-fm3130.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, 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; } -- 2.39.5