diff options
Diffstat (limited to 'drivers/hwmon/ad7314.c')
-rw-r--r-- | drivers/hwmon/ad7314.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/ad7314.c b/drivers/hwmon/ad7314.c index 37c01e72d699..a57584d28a40 100644 --- a/drivers/hwmon/ad7314.c +++ b/drivers/hwmon/ad7314.c | |||
@@ -107,7 +107,7 @@ static const struct attribute_group ad7314_group = { | |||
107 | .attrs = ad7314_attributes, | 107 | .attrs = ad7314_attributes, |
108 | }; | 108 | }; |
109 | 109 | ||
110 | static int __devinit ad7314_probe(struct spi_device *spi_dev) | 110 | static int ad7314_probe(struct spi_device *spi_dev) |
111 | { | 111 | { |
112 | int ret; | 112 | int ret; |
113 | struct ad7314_data *chip; | 113 | struct ad7314_data *chip; |
@@ -135,7 +135,7 @@ error_remove_group: | |||
135 | return ret; | 135 | return ret; |
136 | } | 136 | } |
137 | 137 | ||
138 | static int __devexit ad7314_remove(struct spi_device *spi_dev) | 138 | static int ad7314_remove(struct spi_device *spi_dev) |
139 | { | 139 | { |
140 | struct ad7314_data *chip = dev_get_drvdata(&spi_dev->dev); | 140 | struct ad7314_data *chip = dev_get_drvdata(&spi_dev->dev); |
141 | 141 | ||
@@ -159,7 +159,7 @@ static struct spi_driver ad7314_driver = { | |||
159 | .owner = THIS_MODULE, | 159 | .owner = THIS_MODULE, |
160 | }, | 160 | }, |
161 | .probe = ad7314_probe, | 161 | .probe = ad7314_probe, |
162 | .remove = __devexit_p(ad7314_remove), | 162 | .remove = ad7314_remove, |
163 | .id_table = ad7314_id, | 163 | .id_table = ad7314_id, |
164 | }; | 164 | }; |
165 | 165 | ||