Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8afa640 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

power: remove use of __devinit



CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 28ea73f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -901,7 +901,7 @@ static enum power_supply_property pm860x_batt_props[] = {
	POWER_SUPPLY_PROP_TEMP,
};

static __devinit int pm860x_battery_probe(struct platform_device *pdev)
static int pm860x_battery_probe(struct platform_device *pdev)
{
	struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
	struct pm860x_battery_info *info;
+1 −1
Original line number Diff line number Diff line
@@ -645,7 +645,7 @@ static struct pm860x_irq_desc {
	{ "vchg", pm860x_vchg_handler },
};

static __devinit int pm860x_charger_probe(struct platform_device *pdev)
static int pm860x_charger_probe(struct platform_device *pdev)
{
	struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
	struct pm860x_charger_info *info;
+1 −1
Original line number Diff line number Diff line
@@ -960,7 +960,7 @@ static int __devexit ab8500_btemp_remove(struct platform_device *pdev)
	return 0;
}

static int __devinit ab8500_btemp_probe(struct platform_device *pdev)
static int ab8500_btemp_probe(struct platform_device *pdev)
{
	int irq, i, ret = 0;
	u8 val;
+1 −1
Original line number Diff line number Diff line
@@ -2531,7 +2531,7 @@ static int __devexit ab8500_charger_remove(struct platform_device *pdev)
	return 0;
}

static int __devinit ab8500_charger_probe(struct platform_device *pdev)
static int ab8500_charger_probe(struct platform_device *pdev)
{
	int irq, i, charger_status, ret = 0;
	struct abx500_bm_plat_data *plat_data = pdev->dev.platform_data;
+1 −1
Original line number Diff line number Diff line
@@ -2442,7 +2442,7 @@ static struct ab8500_fg_interrupts ab8500_fg_irq[] = {
	{"CCEOC", ab8500_fg_cc_data_end_handler},
};

static int __devinit ab8500_fg_probe(struct platform_device *pdev)
static int ab8500_fg_probe(struct platform_device *pdev)
{
	int i, irq;
	int ret = 0;
Loading