diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 18:21:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 23:02:23 (GMT) |
commit | e543acf07db78cfc135e45c4ce0ed26ccf774c37 (patch) | |
tree | 0e88a8bc6b13a4d5cedee2c125f51e7edeb2f547 /drivers/staging/iio/magnetometer | |
parent | 447d4f29ee3fa62f13c65688bb7b74d5a9a0d767 (diff) | |
download | linux-e543acf07db78cfc135e45c4ce0ed26ccf774c37.tar.xz |
staging: iio: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/magnetometer')
-rw-r--r-- | drivers/staging/iio/magnetometer/ak8975.c | 2 | ||||
-rw-r--r-- | drivers/staging/iio/magnetometer/hmc5843.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/magnetometer/ak8975.c b/drivers/staging/iio/magnetometer/ak8975.c index 22a4add..28f080e 100644 --- a/drivers/staging/iio/magnetometer/ak8975.c +++ b/drivers/staging/iio/magnetometer/ak8975.c @@ -510,7 +510,7 @@ static struct i2c_driver ak8975_driver = { .of_match_table = ak8975_of_match, }, .probe = ak8975_probe, - .remove = __devexit_p(ak8975_remove), + .remove = ak8975_remove, .id_table = ak8975_id, }; module_i2c_driver(ak8975_driver); diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c index e151fca..1a520ec 100644 --- a/drivers/staging/iio/magnetometer/hmc5843.c +++ b/drivers/staging/iio/magnetometer/hmc5843.c @@ -755,7 +755,7 @@ static struct i2c_driver hmc5843_driver = { }, .id_table = hmc5843_id, .probe = hmc5843_probe, - .remove = __devexit_p(hmc5843_remove), + .remove = hmc5843_remove, .detect = hmc5843_detect, .address_list = normal_i2c, }; |