Commit f90a6506 authored by Alessandro Zummo's avatar Alessandro Zummo Committed by Linus Torvalds

[PATCH] RTC subsystem: whitespaces and error messages cleanup

- fix whitespace

- remove some debugging in excess
Signed-off-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 015aefbb
...@@ -321,8 +321,6 @@ static int pcf8563_detach(struct i2c_client *client) ...@@ -321,8 +321,6 @@ static int pcf8563_detach(struct i2c_client *client)
int err; int err;
struct rtc_device *rtc = i2c_get_clientdata(client); struct rtc_device *rtc = i2c_get_clientdata(client);
dev_dbg(&client->dev, "%s\n", __FUNCTION__);
if (rtc) if (rtc)
rtc_device_unregister(rtc); rtc_device_unregister(rtc);
......
...@@ -193,7 +193,6 @@ static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL); ...@@ -193,7 +193,6 @@ static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
static int rs5c372_attach(struct i2c_adapter *adapter) static int rs5c372_attach(struct i2c_adapter *adapter)
{ {
dev_dbg(&adapter->dev, "%s\n", __FUNCTION__);
return i2c_probe(adapter, &addr_data, rs5c372_probe); return i2c_probe(adapter, &addr_data, rs5c372_probe);
} }
...@@ -260,8 +259,6 @@ static int rs5c372_detach(struct i2c_client *client) ...@@ -260,8 +259,6 @@ static int rs5c372_detach(struct i2c_client *client)
int err; int err;
struct rtc_device *rtc = i2c_get_clientdata(client); struct rtc_device *rtc = i2c_get_clientdata(client);
dev_dbg(&client->dev, "%s\n", __FUNCTION__);
if (rtc) if (rtc)
rtc_device_unregister(rtc); rtc_device_unregister(rtc);
......
...@@ -498,7 +498,6 @@ static DEVICE_ATTR(dtrim, S_IRUGO, x1205_sysfs_show_dtrim, NULL); ...@@ -498,7 +498,6 @@ static DEVICE_ATTR(dtrim, S_IRUGO, x1205_sysfs_show_dtrim, NULL);
static int x1205_attach(struct i2c_adapter *adapter) static int x1205_attach(struct i2c_adapter *adapter)
{ {
dev_dbg(&adapter->dev, "%s\n", __FUNCTION__);
return i2c_probe(adapter, &addr_data, x1205_probe); return i2c_probe(adapter, &addr_data, x1205_probe);
} }
...@@ -587,8 +586,6 @@ static int x1205_detach(struct i2c_client *client) ...@@ -587,8 +586,6 @@ static int x1205_detach(struct i2c_client *client)
int err; int err;
struct rtc_device *rtc = i2c_get_clientdata(client); struct rtc_device *rtc = i2c_get_clientdata(client);
dev_dbg(&client->dev, "%s\n", __FUNCTION__);
if (rtc) if (rtc)
rtc_device_unregister(rtc); rtc_device_unregister(rtc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment