diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:20:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:43:22 -0500 |
commit | 28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (patch) | |
tree | 36940d50c00ec43a6d7dafc8fd27429601168fb7 /drivers/power/z2_battery.c | |
parent | e533a349c0258f38a67afa1c2402a12f46227049 (diff) |
power: 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: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power/z2_battery.c')
-rw-r--r-- | drivers/power/z2_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c index 5757d0d6782f..406dbd3d6bff 100644 --- a/drivers/power/z2_battery.c +++ b/drivers/power/z2_battery.c | |||
@@ -313,7 +313,7 @@ static struct i2c_driver z2_batt_driver = { | |||
313 | .pm = Z2_BATTERY_PM_OPS | 313 | .pm = Z2_BATTERY_PM_OPS |
314 | }, | 314 | }, |
315 | .probe = z2_batt_probe, | 315 | .probe = z2_batt_probe, |
316 | .remove = __devexit_p(z2_batt_remove), | 316 | .remove = z2_batt_remove, |
317 | .id_table = z2_batt_id, | 317 | .id_table = z2_batt_id, |
318 | }; | 318 | }; |
319 | module_i2c_driver(z2_batt_driver); | 319 | module_i2c_driver(z2_batt_driver); |