diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:43:22 -0500 |
commit | c8afa6406e60aec6ff90033e5ffe41a206609296 (patch) | |
tree | fc5f696c1b023fc3f045ad36033b1c23e2a786ad /drivers/power/intel_mid_battery.c | |
parent | 28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (diff) |
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/intel_mid_battery.c')
-rw-r--r-- | drivers/power/intel_mid_battery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index 8ba1c67af60e..0eb50b0daf74 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c | |||
@@ -649,7 +649,7 @@ static void pmic_battery_handle_intrpt(struct work_struct *work) | |||
649 | * PMIC battery initializes its internal data structue and other | 649 | * PMIC battery initializes its internal data structue and other |
650 | * infrastructure components for it to work as expected. | 650 | * infrastructure components for it to work as expected. |
651 | */ | 651 | */ |
652 | static __devinit int probe(int irq, struct device *dev) | 652 | static int probe(int irq, struct device *dev) |
653 | { | 653 | { |
654 | int retval = 0; | 654 | int retval = 0; |
655 | struct pmic_power_module_info *pbi; | 655 | struct pmic_power_module_info *pbi; |
@@ -739,7 +739,7 @@ wqueue_failed: | |||
739 | return retval; | 739 | return retval; |
740 | } | 740 | } |
741 | 741 | ||
742 | static int __devinit platform_pmic_battery_probe(struct platform_device *pdev) | 742 | static int platform_pmic_battery_probe(struct platform_device *pdev) |
743 | { | 743 | { |
744 | return probe(pdev->id, &pdev->dev); | 744 | return probe(pdev->id, &pdev->dev); |
745 | } | 745 | } |