diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1390.c')
-rw-r--r-- | drivers/rtc/rtc-ds1390.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index b0a99e1b25be..f994257981a0 100644 --- a/drivers/rtc/rtc-ds1390.c +++ b/drivers/rtc/rtc-ds1390.c | |||
@@ -121,7 +121,7 @@ static const struct rtc_class_ops ds1390_rtc_ops = { | |||
121 | .set_time = ds1390_set_time, | 121 | .set_time = ds1390_set_time, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static int __devinit ds1390_probe(struct spi_device *spi) | 124 | static int ds1390_probe(struct spi_device *spi) |
125 | { | 125 | { |
126 | unsigned char tmp; | 126 | unsigned char tmp; |
127 | struct ds1390 *chip; | 127 | struct ds1390 *chip; |
@@ -156,7 +156,7 @@ static int __devinit ds1390_probe(struct spi_device *spi) | |||
156 | return res; | 156 | return res; |
157 | } | 157 | } |
158 | 158 | ||
159 | static int __devexit ds1390_remove(struct spi_device *spi) | 159 | static int ds1390_remove(struct spi_device *spi) |
160 | { | 160 | { |
161 | struct ds1390 *chip = spi_get_drvdata(spi); | 161 | struct ds1390 *chip = spi_get_drvdata(spi); |
162 | 162 | ||
@@ -172,7 +172,7 @@ static struct spi_driver ds1390_driver = { | |||
172 | .owner = THIS_MODULE, | 172 | .owner = THIS_MODULE, |
173 | }, | 173 | }, |
174 | .probe = ds1390_probe, | 174 | .probe = ds1390_probe, |
175 | .remove = __devexit_p(ds1390_remove), | 175 | .remove = ds1390_remove, |
176 | }; | 176 | }; |
177 | 177 | ||
178 | module_spi_driver(ds1390_driver); | 178 | module_spi_driver(ds1390_driver); |