diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-30 01:19:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 03:28:28 +0200 |
commit | 198b8ec844ddbf254d9221815c74bb3465b215bc (patch) | |
tree | 612493d92c9ce05418ca23a8e3ad1f7285818f35 /drivers/rtc | |
parent | rtc: rtc-ds1307: use dev_dbg() instead of pr_debug() (diff) | |
download | linux-198b8ec844ddbf254d9221815c74bb3465b215bc.tar.xz linux-198b8ec844ddbf254d9221815c74bb3465b215bc.zip |
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')
-rw-r--r-- | drivers/rtc/rtc-fm3130.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |