diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:14:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:16 -0500 |
commit | 0fe763c570ad2701c830b9e4e53c65ad89c11c32 (patch) | |
tree | 88a648c1cbcda318507d339bf93f1b24af4ff4bf /drivers/hwmon | |
parent | 8d85fce77edfc22f1d6dbf78e3af723b4b556f3d (diff) |
Drivers: misc: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/vexpress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/vexpress.c b/drivers/hwmon/vexpress.c index 59fd1268e58a..86d7f6d858b1 100644 --- a/drivers/hwmon/vexpress.c +++ b/drivers/hwmon/vexpress.c | |||
@@ -196,7 +196,7 @@ error: | |||
196 | return err; | 196 | return err; |
197 | } | 197 | } |
198 | 198 | ||
199 | static int __devexit vexpress_hwmon_remove(struct platform_device *pdev) | 199 | static int vexpress_hwmon_remove(struct platform_device *pdev) |
200 | { | 200 | { |
201 | struct vexpress_hwmon_data *data = platform_get_drvdata(pdev); | 201 | struct vexpress_hwmon_data *data = platform_get_drvdata(pdev); |
202 | const struct of_device_id *match; | 202 | const struct of_device_id *match; |
@@ -213,7 +213,7 @@ static int __devexit vexpress_hwmon_remove(struct platform_device *pdev) | |||
213 | 213 | ||
214 | static struct platform_driver vexpress_hwmon_driver = { | 214 | static struct platform_driver vexpress_hwmon_driver = { |
215 | .probe = vexpress_hwmon_probe, | 215 | .probe = vexpress_hwmon_probe, |
216 | .remove = __devexit_p(vexpress_hwmon_remove), | 216 | .remove = vexpress_hwmon_remove, |
217 | .driver = { | 217 | .driver = { |
218 | .name = DRVNAME, | 218 | .name = DRVNAME, |
219 | .owner = THIS_MODULE, | 219 | .owner = THIS_MODULE, |