diff options
author | 2006-04-10 22:54:42 -0700 | |
---|---|---|
committer | 2006-04-11 06:18:47 -0700 | |
commit | f90a65060e6a71a818abc3584ac64f986b838fba (patch) | |
tree | 8b0eebcbbc447059c2c61f5209eb1801a645e6e0 /drivers/rtc/rtc-x1205.c | |
parent | [PATCH] RTC subsystem: X1205 sysfs cleanup (diff) | |
download | linux-f90a65060e6a71a818abc3584ac64f986b838fba.tar.gz linux-f90a65060e6a71a818abc3584ac64f986b838fba.tar.bz2 linux-f90a65060e6a71a818abc3584ac64f986b838fba.zip |
[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); |