X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-fm3130.c;h=4d4ad3fcb5e95761b0538a24c69b2ee380da40e4;hb=ad3f3cf489311af25f91bade664a1688896245e9;hp=bff3cdc5140edd0c34350d3d84748c7a394d1844;hpb=6f08158de9e5a15a2f2b25ed651b5120a2ec7b5b;p=~andy%2Flinux 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; }