aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rs5c372.c
diff options
context:
space:
mode:
authorAlessandro Zummo <a.zummo@towertech.it>2006-04-11 01:54:42 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 09:18:47 -0400
commitf90a65060e6a71a818abc3584ac64f986b838fba (patch)
tree8b0eebcbbc447059c2c61f5209eb1801a645e6e0 /drivers/rtc/rtc-rs5c372.c
parent015aefbb87f9e6bd5d3c82ece97f7a7ba8f9b66c (diff)
[PATCH] RTC subsystem: whitespaces and error messages cleanup
- fix whitespace - remove some debugging in excess Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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