diff options
Diffstat (limited to 'drivers/hwmon/ads7871.c')
-rw-r--r-- | drivers/hwmon/ads7871.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/ads7871.c b/drivers/hwmon/ads7871.c index 1b53aa42b6db..a79875986f91 100644 --- a/drivers/hwmon/ads7871.c +++ b/drivers/hwmon/ads7871.c | |||
@@ -173,7 +173,7 @@ static const struct attribute_group ads7871_group = { | |||
173 | .attrs = ads7871_attributes, | 173 | .attrs = ads7871_attributes, |
174 | }; | 174 | }; |
175 | 175 | ||
176 | static int __devinit ads7871_probe(struct spi_device *spi) | 176 | static int ads7871_probe(struct spi_device *spi) |
177 | { | 177 | { |
178 | int ret, err; | 178 | int ret, err; |
179 | uint8_t val; | 179 | uint8_t val; |
@@ -225,7 +225,7 @@ error_remove: | |||
225 | return err; | 225 | return err; |
226 | } | 226 | } |
227 | 227 | ||
228 | static int __devexit ads7871_remove(struct spi_device *spi) | 228 | static int ads7871_remove(struct spi_device *spi) |
229 | { | 229 | { |
230 | struct ads7871_data *pdata = spi_get_drvdata(spi); | 230 | struct ads7871_data *pdata = spi_get_drvdata(spi); |
231 | 231 | ||
@@ -241,7 +241,7 @@ static struct spi_driver ads7871_driver = { | |||
241 | }, | 241 | }, |
242 | 242 | ||
243 | .probe = ads7871_probe, | 243 | .probe = ads7871_probe, |
244 | .remove = __devexit_p(ads7871_remove), | 244 | .remove = ads7871_remove, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | module_spi_driver(ads7871_driver); | 247 | module_spi_driver(ads7871_driver); |