aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rs5c372.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-rs5c372.c')
-rw-r--r--drivers/rtc/rtc-rs5c372.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c
index 396c8681f66c..b0aeb96aa5c7 100644
--- a/drivers/rtc/rtc-rs5c372.c
+++ b/drivers/rtc/rtc-rs5c372.c
@@ -193,7 +193,6 @@ static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
193 193
194static int rs5c372_attach(struct i2c_adapter *adapter) 194static int rs5c372_attach(struct i2c_adapter *adapter)
195{ 195{
196 dev_dbg(&adapter->dev, "%s\n", __FUNCTION__);
197 return i2c_probe(adapter, &addr_data, rs5c372_probe); 196 return i2c_probe(adapter, &addr_data, rs5c372_probe);
198} 197}
199 198
@@ -260,8 +259,6 @@ static int rs5c372_detach(struct i2c_client *client)
260 int err; 259 int err;
261 struct rtc_device *rtc = i2c_get_clientdata(client); 260 struct rtc_device *rtc = i2c_get_clientdata(client);
262 261
263 dev_dbg(&client->dev, "%s\n", __FUNCTION__);
264
265 if (rtc) 262 if (rtc)
266 rtc_device_unregister(rtc); 263 rtc_device_unregister(rtc);
267 264