diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2006-04-11 09:54:42 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 17:18:47 +0400 |
commit | f90a65060e6a71a818abc3584ac64f986b838fba (patch) | |
tree | 8b0eebcbbc447059c2c61f5209eb1801a645e6e0 /drivers/rtc/rtc-x1205.c | |
parent | 015aefbb87f9e6bd5d3c82ece97f7a7ba8f9b66c (diff) | |
download | linux-f90a65060e6a71a818abc3584ac64f986b838fba.tar.xz |
[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); static int x1205_attach(struct i2c_adapter *adapter) { - dev_dbg(&adapter->dev, "%s\n", __FUNCTION__); return i2c_probe(adapter, &addr_data, x1205_probe); } @@ -587,8 +586,6 @@ static int x1205_detach(struct i2c_client *client) int err; struct rtc_device *rtc = i2c_get_clientdata(client); - dev_dbg(&client->dev, "%s\n", __FUNCTION__); - if (rtc) rtc_device_unregister(rtc); |