]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
rtc: rtc-fm3130: use dev_dbg() instead of pr_debug()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:19:29 +0000 (16:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:28 +0000 (18:28 -0700)
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>
drivers/rtc/rtc-fm3130.c

index bff3cdc5140edd0c34350d3d84748c7a394d1844..4d4ad3fcb5e95761b0538a24c69b2ee380da40e4 100644 (file)
@@ -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;
        }