summaryrefslogtreecommitdiff
path: root/drivers/power/z2_battery.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 22:20:40 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 23:43:22 +0400
commit28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (patch)
tree36940d50c00ec43a6d7dafc8fd27429601168fb7 /drivers/power/z2_battery.c
parente533a349c0258f38a67afa1c2402a12f46227049 (diff)
downloadlinux-28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa.tar.xz
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.c2
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 = {
.pm = Z2_BATTERY_PM_OPS
},
.probe = z2_batt_probe,
- .remove = __devexit_p(z2_batt_remove),
+ .remove = z2_batt_remove,
.id_table = z2_batt_id,
};
module_i2c_driver(z2_batt_driver);