From: Jingoo Han Date: Wed, 20 Mar 2013 04:08:13 +0000 (+1100) Subject: rtc: rtc-fm3130: use dev_dbg() instead of pr_debug() X-Git-Tag: next-20130322~1^2~160 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e13399a634b361b64efc063227dcdf5615966f5e;p=karo-tx-linux.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 --- 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; }