summaryrefslogtreecommitdiffstats
path: root/drivers/power/gpio-charger.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 11:43:22 -0800
commitc8afa6406e60aec6ff90033e5ffe41a206609296 (patch)
treefc5f696c1b023fc3f045ad36033b1c23e2a786ad /drivers/power/gpio-charger.c
parent28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (diff)
downloadop-kernel-dev-c8afa6406e60aec6ff90033e5ffe41a206609296.zip
op-kernel-dev-c8afa6406e60aec6ff90033e5ffe41a206609296.tar.gz
power: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit 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/gpio-charger.c')
-rw-r--r--drivers/power/gpio-charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c
index e74fb2f..cea6e6a 100644
--- a/drivers/power/gpio-charger.c
+++ b/drivers/power/gpio-charger.c
@@ -68,7 +68,7 @@ static enum power_supply_property gpio_charger_properties[] = {
POWER_SUPPLY_PROP_ONLINE,
};
-static int __devinit gpio_charger_probe(struct platform_device *pdev)
+static int gpio_charger_probe(struct platform_device *pdev)
{
const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data;
struct gpio_charger *gpio_charger;
OpenPOWER on IntegriCloud