diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-03-06 04:51:34 -0500 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-03-17 22:36:01 -0400 |
commit | 60b7f4cbdcbc8da663f2f1593b882d0a74f71577 (patch) | |
tree | be08e1a93c2ab378896ff9078bb00807a94ca2f3 | |
parent | 559e883e0f776855072d70001a4c68a0d07a68f4 (diff) |
rtc: abx80x: remove useless .remove
.remove is empty, remove it.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | drivers/rtc/rtc-abx80x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index 90f25ac78abc..73830670a41f 100644 --- a/drivers/rtc/rtc-abx80x.c +++ b/drivers/rtc/rtc-abx80x.c | |||
@@ -851,11 +851,6 @@ static int abx80x_probe(struct i2c_client *client, | |||
851 | return rtc_register_device(priv->rtc); | 851 | return rtc_register_device(priv->rtc); |
852 | } | 852 | } |
853 | 853 | ||
854 | static int abx80x_remove(struct i2c_client *client) | ||
855 | { | ||
856 | return 0; | ||
857 | } | ||
858 | |||
859 | static const struct i2c_device_id abx80x_id[] = { | 854 | static const struct i2c_device_id abx80x_id[] = { |
860 | { "abx80x", ABX80X }, | 855 | { "abx80x", ABX80X }, |
861 | { "ab0801", AB0801 }, | 856 | { "ab0801", AB0801 }, |
@@ -876,7 +871,6 @@ static struct i2c_driver abx80x_driver = { | |||
876 | .name = "rtc-abx80x", | 871 | .name = "rtc-abx80x", |
877 | }, | 872 | }, |
878 | .probe = abx80x_probe, | 873 | .probe = abx80x_probe, |
879 | .remove = abx80x_remove, | ||
880 | .id_table = abx80x_id, | 874 | .id_table = abx80x_id, |
881 | }; | 875 | }; |
882 | 876 | ||