diff options
Diffstat (limited to 'drivers/rtc/rtc-bq4802.c')
-rw-r--r-- | drivers/rtc/rtc-bq4802.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-bq4802.c b/drivers/rtc/rtc-bq4802.c index bf612ef22941..693be71b5b18 100644 --- a/drivers/rtc/rtc-bq4802.c +++ b/drivers/rtc/rtc-bq4802.c | |||
@@ -140,7 +140,7 @@ static const struct rtc_class_ops bq4802_ops = { | |||
140 | .set_time = bq4802_set_time, | 140 | .set_time = bq4802_set_time, |
141 | }; | 141 | }; |
142 | 142 | ||
143 | static int __devinit bq4802_probe(struct platform_device *pdev) | 143 | static int bq4802_probe(struct platform_device *pdev) |
144 | { | 144 | { |
145 | struct bq4802 *p = kzalloc(sizeof(*p), GFP_KERNEL); | 145 | struct bq4802 *p = kzalloc(sizeof(*p), GFP_KERNEL); |
146 | int err = -ENOMEM; | 146 | int err = -ENOMEM; |
@@ -191,7 +191,7 @@ out_free: | |||
191 | goto out; | 191 | goto out; |
192 | } | 192 | } |
193 | 193 | ||
194 | static int __devexit bq4802_remove(struct platform_device *pdev) | 194 | static int bq4802_remove(struct platform_device *pdev) |
195 | { | 195 | { |
196 | struct bq4802 *p = platform_get_drvdata(pdev); | 196 | struct bq4802 *p = platform_get_drvdata(pdev); |
197 | 197 | ||
@@ -215,7 +215,7 @@ static struct platform_driver bq4802_driver = { | |||
215 | .owner = THIS_MODULE, | 215 | .owner = THIS_MODULE, |
216 | }, | 216 | }, |
217 | .probe = bq4802_probe, | 217 | .probe = bq4802_probe, |
218 | .remove = __devexit_p(bq4802_remove), | 218 | .remove = bq4802_remove, |
219 | }; | 219 | }; |
220 | 220 | ||
221 | module_platform_driver(bq4802_driver); | 221 | module_platform_driver(bq4802_driver); |