summaryrefslogtreecommitdiff
path: root/drivers/power/generic-adc-battery.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 22:26:07 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 23:43:22 +0400
commit415ec69fb1861fc377c65cb30ddc76999891b8e1 (patch)
tree52de96edeeebe3c0ec6a11bf1938da27567a7622 /drivers/power/generic-adc-battery.c
parentc8afa6406e60aec6ff90033e5ffe41a206609296 (diff)
downloadlinux-415ec69fb1861fc377c65cb30ddc76999891b8e1.tar.xz
power: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit 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/generic-adc-battery.c')
-rw-r--r--drivers/power/generic-adc-battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c
index 055dea7a1756..e902b088d52c 100644
--- a/drivers/power/generic-adc-battery.c
+++ b/drivers/power/generic-adc-battery.c
@@ -351,7 +351,7 @@ first_mem_fail:
return ret;
}
-static int __devexit gab_remove(struct platform_device *pdev)
+static int gab_remove(struct platform_device *pdev)
{
int chan;
struct gab *adc_bat = platform_get_drvdata(pdev);