aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-x1205.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-x1205.c')
-rw-r--r--drivers/rtc/rtc-x1205.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c
index e2630659f04f..cdf0eba993be 100644
--- a/drivers/rtc/rtc-x1205.c
+++ b/drivers/rtc/rtc-x1205.c
@@ -498,7 +498,6 @@ static DEVICE_ATTR(dtrim, S_IRUGO, x1205_sysfs_show_dtrim, NULL);
498 498
499static int x1205_attach(struct i2c_adapter *adapter) 499static int x1205_attach(struct i2c_adapter *adapter)
500{ 500{
501 dev_dbg(&adapter->dev, "%s\n", __FUNCTION__);
502 return i2c_probe(adapter, &addr_data, x1205_probe); 501 return i2c_probe(adapter, &addr_data, x1205_probe);
503} 502}
504 503
@@ -587,8 +586,6 @@ static int x1205_detach(struct i2c_client *client)
587 int err; 586 int err;
588 struct rtc_device *rtc = i2c_get_clientdata(client); 587 struct rtc_device *rtc = i2c_get_clientdata(client);
589 588
590 dev_dbg(&client->dev, "%s\n", __FUNCTION__);
591
592 if (rtc) 589 if (rtc)
593 rtc_device_unregister(rtc); 590 rtc_device_unregister(rtc);
594 591