aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc/rtc-max6900.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 15:07:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:07:57 -0700
commita1396d9f127952a09a40c8cd3285ff9d062282a0 (patch)
treeaf0b3ce864a682387b1631049606d5cdb6649d8a /drivers/rtc/rtc-max6900.c
parentdrivers/rtc/rtc-max6902.c: remove empty function (diff)
downloadwireguard-linux-a1396d9f127952a09a40c8cd3285ff9d062282a0.tar.xz
wireguard-linux-a1396d9f127952a09a40c8cd3285ff9d062282a0.zip
drivers/rtc/rtc-max6900.c: remove empty function
After the switch to devm_* functions and the removal of rtc_device_unregister(), the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-max6900.c')
-rw-r--r--drivers/rtc/rtc-max6900.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-max6900.c b/drivers/rtc/rtc-max6900.c
index 8669d6d09a00..55969b1b771a 100644
--- a/drivers/rtc/rtc-max6900.c
+++ b/drivers/rtc/rtc-max6900.c
@@ -212,11 +212,6 @@ static int max6900_rtc_set_time(struct device *dev, struct rtc_time *tm)
return max6900_i2c_set_time(to_i2c_client(dev), tm);
}
-static int max6900_remove(struct i2c_client *client)
-{
- return 0;
-}
-
static const struct rtc_class_ops max6900_rtc_ops = {
.read_time = max6900_rtc_read_time,
.set_time = max6900_rtc_set_time,
@@ -252,7 +247,6 @@ static struct i2c_driver max6900_driver = {
.name = "rtc-max6900",
},
.probe = max6900_probe,
- .remove = max6900_remove,
.id_table = max6900_id,
};