diff options
Diffstat (limited to 'drivers/rtc/rtc-max6902.c')
-rw-r--r-- | drivers/rtc/rtc-max6902.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-max6902.c b/drivers/rtc/rtc-max6902.c index 36c74d22e8b5..7d0bf698b79e 100644 --- a/drivers/rtc/rtc-max6902.c +++ b/drivers/rtc/rtc-max6902.c | |||
@@ -120,7 +120,7 @@ static const struct rtc_class_ops max6902_rtc_ops = { | |||
120 | .set_time = max6902_set_time, | 120 | .set_time = max6902_set_time, |
121 | }; | 121 | }; |
122 | 122 | ||
123 | static int __devinit max6902_probe(struct spi_device *spi) | 123 | static int max6902_probe(struct spi_device *spi) |
124 | { | 124 | { |
125 | struct rtc_device *rtc; | 125 | struct rtc_device *rtc; |
126 | unsigned char tmp; | 126 | unsigned char tmp; |
@@ -143,7 +143,7 @@ static int __devinit max6902_probe(struct spi_device *spi) | |||
143 | return 0; | 143 | return 0; |
144 | } | 144 | } |
145 | 145 | ||
146 | static int __devexit max6902_remove(struct spi_device *spi) | 146 | static int max6902_remove(struct spi_device *spi) |
147 | { | 147 | { |
148 | struct rtc_device *rtc = dev_get_drvdata(&spi->dev); | 148 | struct rtc_device *rtc = dev_get_drvdata(&spi->dev); |
149 | 149 | ||
@@ -157,7 +157,7 @@ static struct spi_driver max6902_driver = { | |||
157 | .owner = THIS_MODULE, | 157 | .owner = THIS_MODULE, |
158 | }, | 158 | }, |
159 | .probe = max6902_probe, | 159 | .probe = max6902_probe, |
160 | .remove = __devexit_p(max6902_remove), | 160 | .remove = max6902_remove, |
161 | }; | 161 | }; |
162 | 162 | ||
163 | module_spi_driver(max6902_driver); | 163 | module_spi_driver(max6902_driver); |