diff options
Diffstat (limited to 'drivers/rtc/rtc-max6900.c')
-rw-r--r-- | drivers/rtc/rtc-max6900.c | 6 |
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) | |||
212 | return max6900_i2c_set_time(to_i2c_client(dev), tm); | 212 | return max6900_i2c_set_time(to_i2c_client(dev), tm); |
213 | } | 213 | } |
214 | 214 | ||
215 | static int max6900_remove(struct i2c_client *client) | ||
216 | { | ||
217 | return 0; | ||
218 | } | ||
219 | |||
220 | static const struct rtc_class_ops max6900_rtc_ops = { | 215 | static const struct rtc_class_ops max6900_rtc_ops = { |
221 | .read_time = max6900_rtc_read_time, | 216 | .read_time = max6900_rtc_read_time, |
222 | .set_time = max6900_rtc_set_time, | 217 | .set_time = max6900_rtc_set_time, |
@@ -252,7 +247,6 @@ static struct i2c_driver max6900_driver = { | |||
252 | .name = "rtc-max6900", | 247 | .name = "rtc-max6900", |
253 | }, | 248 | }, |
254 | .probe = max6900_probe, | 249 | .probe = max6900_probe, |
255 | .remove = max6900_remove, | ||
256 | .id_table = max6900_id, | 250 | .id_table = max6900_id, |
257 | }; | 251 | }; |
258 | 252 | ||