diff options
Diffstat (limited to 'drivers/rtc/rtc-rv3029c2.c')
-rw-r--r-- | drivers/rtc/rtc-rv3029c2.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index 5032c24ec159..1a779a67ff66 100644 --- a/drivers/rtc/rtc-rv3029c2.c +++ b/drivers/rtc/rtc-rv3029c2.c | |||
@@ -310,7 +310,7 @@ static int rv3029c2_rtc_i2c_set_alarm(struct i2c_client *client, | |||
310 | dev_dbg(&client->dev, "alarm IRQ armed\n"); | 310 | dev_dbg(&client->dev, "alarm IRQ armed\n"); |
311 | } else { | 311 | } else { |
312 | /* disable AIE irq */ | 312 | /* disable AIE irq */ |
313 | ret = rv3029c2_rtc_i2c_alarm_set_irq(client, 1); | 313 | ret = rv3029c2_rtc_i2c_alarm_set_irq(client, 0); |
314 | if (ret) | 314 | if (ret) |
315 | return ret; | 315 | return ret; |
316 | 316 | ||
@@ -412,17 +412,11 @@ static int rv3029c2_probe(struct i2c_client *client, | |||
412 | return 0; | 412 | return 0; |
413 | } | 413 | } |
414 | 414 | ||
415 | static int rv3029c2_remove(struct i2c_client *client) | ||
416 | { | ||
417 | return 0; | ||
418 | } | ||
419 | |||
420 | static struct i2c_driver rv3029c2_driver = { | 415 | static struct i2c_driver rv3029c2_driver = { |
421 | .driver = { | 416 | .driver = { |
422 | .name = "rtc-rv3029c2", | 417 | .name = "rtc-rv3029c2", |
423 | }, | 418 | }, |
424 | .probe = rv3029c2_probe, | 419 | .probe = rv3029c2_probe, |
425 | .remove = rv3029c2_remove, | ||
426 | .id_table = rv3029c2_id, | 420 | .id_table = rv3029c2_id, |
427 | }; | 421 | }; |
428 | 422 | ||