aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1307.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 12:17:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 12:17:17 -0500
commitcbf50a4125f5242dd70b1f2342dbba2d94c6d94e (patch)
treea97a067e53f32e246034fbbb07e2c0894c279391 /drivers/rtc/rtc-ds1307.c
parent7a8ea7ebe4cf698918e7d3c860587e815eaa0f28 (diff)
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff)
Merge 3.8-rc4 into usb-next
This pulls in all of the -rc4 fixes into usb-next to sync things up. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
-rw-r--r--drivers/rtc/rtc-ds1307.c8
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
620static int __devinit ds1307_probe(struct i2c_client *client, 620static 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
941static int __devexit ds1307_remove(struct i2c_client *client) 941static 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