aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pcf8563.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-pcf8563.c')
-rw-r--r--drivers/rtc/rtc-pcf8563.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index d857d45bdbe8..26feca7caf07 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -321,8 +321,6 @@ static int pcf8563_detach(struct i2c_client *client)
321 int err; 321 int err;
322 struct rtc_device *rtc = i2c_get_clientdata(client); 322 struct rtc_device *rtc = i2c_get_clientdata(client);
323 323
324 dev_dbg(&client->dev, "%s\n", __FUNCTION__);
325
326 if (rtc) 324 if (rtc)
327 rtc_device_unregister(rtc); 325 rtc_device_unregister(rtc);
328 326