summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-fm3130.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-29 16:19:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:28:28 -0700
commit198b8ec844ddbf254d9221815c74bb3465b215bc (patch)
tree612493d92c9ce05418ca23a8e3ad1f7285818f35 /drivers/rtc/rtc-fm3130.c
parent6df80e211b49ecc23b2c1bd0d93c4a3346e21bf7 (diff)
downloadop-kernel-dev-198b8ec844ddbf254d9221815c74bb3465b215bc.zip
op-kernel-dev-198b8ec844ddbf254d9221815c74bb3465b215bc.tar.gz
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>
Diffstat (limited to 'drivers/rtc/rtc-fm3130.c')
-rw-r--r--drivers/rtc/rtc-fm3130.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c
index bff3cdc..4d4ad3f 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;
}
OpenPOWER on IntegriCloud