diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2006-04-11 01:54:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 09:18:47 -0400 |
commit | f90a65060e6a71a818abc3584ac64f986b838fba (patch) | |
tree | 8b0eebcbbc447059c2c61f5209eb1801a645e6e0 /drivers/rtc/rtc-x1205.c | |
parent | 015aefbb87f9e6bd5d3c82ece97f7a7ba8f9b66c (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-x1205.c')
-rw-r--r-- | drivers/rtc/rtc-x1205.c | 3 |
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 | ||
499 | static int x1205_attach(struct i2c_adapter *adapter) | 499 | static 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 | ||