From: Jingoo Han Date: Mon, 29 Apr 2013 23:19:29 +0000 (-0700) Subject: rtc: rtc-fm3130: use dev_dbg() instead of pr_debug() X-Git-Tag: v3.10-rc1~178^2~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=198b8ec844ddbf254d9221815c74bb3465b215bc;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index bff3cdc5140..4d4ad3fcb5e 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; }