summaryrefslogtreecommitdiffstats
path: root/drivers/power/max17040_battery.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 19:20:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 20:43:22 +0100
commit28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (patch)
tree36940d50c00ec43a6d7dafc8fd27429601168fb7 /drivers/power/max17040_battery.c
parenthwspinlock: remove use of __devexit (diff)
downloadlinux-28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa.tar.xz
linux-28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa.zip
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/max17040_battery.c')
-rw-r--r--drivers/power/max17040_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c
index 58e67830143c..fcc712e8aaeb 100644
--- a/drivers/power/max17040_battery.c
+++ b/drivers/power/max17040_battery.c
@@ -285,7 +285,7 @@ static struct i2c_driver max17040_i2c_driver = {
.name = "max17040",
},
.probe = max17040_probe,
- .remove = __devexit_p(max17040_remove),
+ .remove = max17040_remove,
.suspend = max17040_suspend,
.resume = max17040_resume,
.id_table = max17040_id,