diff options
Diffstat (limited to 'drivers/rtc/rtc-rx8025.c')
-rw-r--r-- | drivers/rtc/rtc-rx8025.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index 0de902dc1cd5..0722d36b9c9a 100644 --- a/drivers/rtc/rtc-rx8025.c +++ b/drivers/rtc/rtc-rx8025.c | |||
@@ -534,8 +534,8 @@ static void rx8025_sysfs_unregister(struct device *dev) | |||
534 | device_remove_file(dev, &dev_attr_clock_adjust_ppb); | 534 | device_remove_file(dev, &dev_attr_clock_adjust_ppb); |
535 | } | 535 | } |
536 | 536 | ||
537 | static int __devinit rx8025_probe(struct i2c_client *client, | 537 | static int rx8025_probe(struct i2c_client *client, |
538 | const struct i2c_device_id *id) | 538 | const struct i2c_device_id *id) |
539 | { | 539 | { |
540 | struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); | 540 | struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); |
541 | struct rx8025_data *rx8025; | 541 | struct rx8025_data *rx8025; |
@@ -614,7 +614,7 @@ errout: | |||
614 | return err; | 614 | return err; |
615 | } | 615 | } |
616 | 616 | ||
617 | static int __devexit rx8025_remove(struct i2c_client *client) | 617 | static int rx8025_remove(struct i2c_client *client) |
618 | { | 618 | { |
619 | struct rx8025_data *rx8025 = i2c_get_clientdata(client); | 619 | struct rx8025_data *rx8025 = i2c_get_clientdata(client); |
620 | struct mutex *lock = &rx8025->rtc->ops_lock; | 620 | struct mutex *lock = &rx8025->rtc->ops_lock; |
@@ -640,7 +640,7 @@ static struct i2c_driver rx8025_driver = { | |||
640 | .owner = THIS_MODULE, | 640 | .owner = THIS_MODULE, |
641 | }, | 641 | }, |
642 | .probe = rx8025_probe, | 642 | .probe = rx8025_probe, |
643 | .remove = __devexit_p(rx8025_remove), | 643 | .remove = rx8025_remove, |
644 | .id_table = rx8025_id, | 644 | .id_table = rx8025_id, |
645 | }; | 645 | }; |
646 | 646 | ||