diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1742.c')
-rw-r--r-- | drivers/rtc/rtc-ds1742.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index 76112667c507..609c870e2cc5 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -159,7 +159,7 @@ static ssize_t ds1742_nvram_write(struct file *filp, struct kobject *kobj, | |||
159 | return count; | 159 | return count; |
160 | } | 160 | } |
161 | 161 | ||
162 | static int __devinit ds1742_rtc_probe(struct platform_device *pdev) | 162 | static int ds1742_rtc_probe(struct platform_device *pdev) |
163 | { | 163 | { |
164 | struct rtc_device *rtc; | 164 | struct rtc_device *rtc; |
165 | struct resource *res; | 165 | struct resource *res; |
@@ -222,7 +222,7 @@ static int __devinit ds1742_rtc_probe(struct platform_device *pdev) | |||
222 | return ret; | 222 | return ret; |
223 | } | 223 | } |
224 | 224 | ||
225 | static int __devexit ds1742_rtc_remove(struct platform_device *pdev) | 225 | static int ds1742_rtc_remove(struct platform_device *pdev) |
226 | { | 226 | { |
227 | struct rtc_plat_data *pdata = platform_get_drvdata(pdev); | 227 | struct rtc_plat_data *pdata = platform_get_drvdata(pdev); |
228 | 228 | ||
@@ -233,7 +233,7 @@ static int __devexit ds1742_rtc_remove(struct platform_device *pdev) | |||
233 | 233 | ||
234 | static struct platform_driver ds1742_rtc_driver = { | 234 | static struct platform_driver ds1742_rtc_driver = { |
235 | .probe = ds1742_rtc_probe, | 235 | .probe = ds1742_rtc_probe, |
236 | .remove = __devexit_p(ds1742_rtc_remove), | 236 | .remove = ds1742_rtc_remove, |
237 | .driver = { | 237 | .driver = { |
238 | .name = "rtc-ds1742", | 238 | .name = "rtc-ds1742", |
239 | .owner = THIS_MODULE, | 239 | .owner = THIS_MODULE, |