diff options
Diffstat (limited to 'drivers/hwmon/wm831x-hwmon.c')
-rw-r--r-- | drivers/hwmon/wm831x-hwmon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/wm831x-hwmon.c b/drivers/hwmon/wm831x-hwmon.c index d0db1f2738fb..df6ceaf8d58a 100644 --- a/drivers/hwmon/wm831x-hwmon.c +++ b/drivers/hwmon/wm831x-hwmon.c | |||
@@ -157,7 +157,7 @@ static const struct attribute_group wm831x_attr_group = { | |||
157 | .attrs = wm831x_attributes, | 157 | .attrs = wm831x_attributes, |
158 | }; | 158 | }; |
159 | 159 | ||
160 | static int __devinit wm831x_hwmon_probe(struct platform_device *pdev) | 160 | static int wm831x_hwmon_probe(struct platform_device *pdev) |
161 | { | 161 | { |
162 | struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); | 162 | struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); |
163 | struct wm831x_hwmon *hwmon; | 163 | struct wm831x_hwmon *hwmon; |
@@ -189,7 +189,7 @@ err_sysfs: | |||
189 | return ret; | 189 | return ret; |
190 | } | 190 | } |
191 | 191 | ||
192 | static int __devexit wm831x_hwmon_remove(struct platform_device *pdev) | 192 | static int wm831x_hwmon_remove(struct platform_device *pdev) |
193 | { | 193 | { |
194 | struct wm831x_hwmon *hwmon = platform_get_drvdata(pdev); | 194 | struct wm831x_hwmon *hwmon = platform_get_drvdata(pdev); |
195 | 195 | ||
@@ -201,7 +201,7 @@ static int __devexit wm831x_hwmon_remove(struct platform_device *pdev) | |||
201 | 201 | ||
202 | static struct platform_driver wm831x_hwmon_driver = { | 202 | static struct platform_driver wm831x_hwmon_driver = { |
203 | .probe = wm831x_hwmon_probe, | 203 | .probe = wm831x_hwmon_probe, |
204 | .remove = __devexit_p(wm831x_hwmon_remove), | 204 | .remove = wm831x_hwmon_remove, |
205 | .driver = { | 205 | .driver = { |
206 | .name = "wm831x-hwmon", | 206 | .name = "wm831x-hwmon", |
207 | .owner = THIS_MODULE, | 207 | .owner = THIS_MODULE, |