diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
-rw-r--r-- | drivers/rtc/rtc-ds1307.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index 836710ce750e..e0d0ba4de03f 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c | |||
@@ -617,8 +617,8 @@ ds1307_nvram_write(struct file *filp, struct kobject *kobj, | |||
617 | 617 | ||
618 | /*----------------------------------------------------------------------*/ | 618 | /*----------------------------------------------------------------------*/ |
619 | 619 | ||
620 | static int __devinit ds1307_probe(struct i2c_client *client, | 620 | static int ds1307_probe(struct i2c_client *client, |
621 | const struct i2c_device_id *id) | 621 | const struct i2c_device_id *id) |
622 | { | 622 | { |
623 | struct ds1307 *ds1307; | 623 | struct ds1307 *ds1307; |
624 | int err = -ENODEV; | 624 | int err = -ENODEV; |
@@ -938,7 +938,7 @@ exit_free: | |||
938 | return err; | 938 | return err; |
939 | } | 939 | } |
940 | 940 | ||
941 | static int __devexit ds1307_remove(struct i2c_client *client) | 941 | static int ds1307_remove(struct i2c_client *client) |
942 | { | 942 | { |
943 | struct ds1307 *ds1307 = i2c_get_clientdata(client); | 943 | struct ds1307 *ds1307 = i2c_get_clientdata(client); |
944 | 944 | ||
@@ -963,7 +963,7 @@ static struct i2c_driver ds1307_driver = { | |||
963 | .owner = THIS_MODULE, | 963 | .owner = THIS_MODULE, |
964 | }, | 964 | }, |
965 | .probe = ds1307_probe, | 965 | .probe = ds1307_probe, |
966 | .remove = __devexit_p(ds1307_remove), | 966 | .remove = ds1307_remove, |
967 | .id_table = ds1307_id, | 967 | .id_table = ds1307_id, |
968 | }; | 968 | }; |
969 | 969 | ||