diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:21:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | fc52692c49969ec72595766929b9f54ac402da34 (patch) | |
tree | 37575c3db7fdeb7bfcd93e10cd4ccef01af5d3f0 /drivers/iio/magnetometer | |
parent | fe31edc8a3b6081f3580c9ae4c5c61103f3412a5 (diff) |
Drivers: iio: 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, 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>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/magnetometer')
-rw-r--r-- | drivers/iio/magnetometer/hid-sensor-magn-3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/magnetometer/hid-sensor-magn-3d.c b/drivers/iio/magnetometer/hid-sensor-magn-3d.c index 8e75eb76ccd9..7ac2c7483ba8 100644 --- a/drivers/iio/magnetometer/hid-sensor-magn-3d.c +++ b/drivers/iio/magnetometer/hid-sensor-magn-3d.c | |||
@@ -279,7 +279,7 @@ static int magn_3d_parse_report(struct platform_device *pdev, | |||
279 | } | 279 | } |
280 | 280 | ||
281 | /* Function to initialize the processing for usage id */ | 281 | /* Function to initialize the processing for usage id */ |
282 | static int __devinit hid_magn_3d_probe(struct platform_device *pdev) | 282 | static int hid_magn_3d_probe(struct platform_device *pdev) |
283 | { | 283 | { |
284 | int ret = 0; | 284 | int ret = 0; |
285 | static char *name = "magn_3d"; | 285 | static char *name = "magn_3d"; |
@@ -376,7 +376,7 @@ error_ret: | |||
376 | } | 376 | } |
377 | 377 | ||
378 | /* Function to deinitialize the processing for usage id */ | 378 | /* Function to deinitialize the processing for usage id */ |
379 | static int __devinit hid_magn_3d_remove(struct platform_device *pdev) | 379 | static int hid_magn_3d_remove(struct platform_device *pdev) |
380 | { | 380 | { |
381 | struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; | 381 | struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; |
382 | struct iio_dev *indio_dev = platform_get_drvdata(pdev); | 382 | struct iio_dev *indio_dev = platform_get_drvdata(pdev); |