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/accel | |
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/accel')
-rw-r--r-- | drivers/iio/accel/hid-sensor-accel-3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/accel/hid-sensor-accel-3d.c b/drivers/iio/accel/hid-sensor-accel-3d.c index e67bb912bd19..0b0c3c66f6c0 100644 --- a/drivers/iio/accel/hid-sensor-accel-3d.c +++ b/drivers/iio/accel/hid-sensor-accel-3d.c | |||
@@ -278,7 +278,7 @@ static int accel_3d_parse_report(struct platform_device *pdev, | |||
278 | } | 278 | } |
279 | 279 | ||
280 | /* Function to initialize the processing for usage id */ | 280 | /* Function to initialize the processing for usage id */ |
281 | static int __devinit hid_accel_3d_probe(struct platform_device *pdev) | 281 | static int hid_accel_3d_probe(struct platform_device *pdev) |
282 | { | 282 | { |
283 | int ret = 0; | 283 | int ret = 0; |
284 | static const char *name = "accel_3d"; | 284 | static const char *name = "accel_3d"; |
@@ -375,7 +375,7 @@ error_ret: | |||
375 | } | 375 | } |
376 | 376 | ||
377 | /* Function to deinitialize the processing for usage id */ | 377 | /* Function to deinitialize the processing for usage id */ |
378 | static int __devinit hid_accel_3d_remove(struct platform_device *pdev) | 378 | static int hid_accel_3d_remove(struct platform_device *pdev) |
379 | { | 379 | { |
380 | struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; | 380 | struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; |
381 | struct iio_dev *indio_dev = platform_get_drvdata(pdev); | 381 | struct iio_dev *indio_dev = platform_get_drvdata(pdev); |