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>
Этот коммит содержится в:

коммит произвёл
Greg Kroah-Hartman

родитель
28ea73f4c6
Коммит
c8afa6406e
@@ -649,7 +649,7 @@ static void pmic_battery_handle_intrpt(struct work_struct *work)
|
||||
* PMIC battery initializes its internal data structue and other
|
||||
* infrastructure components for it to work as expected.
|
||||
*/
|
||||
static __devinit int probe(int irq, struct device *dev)
|
||||
static int probe(int irq, struct device *dev)
|
||||
{
|
||||
int retval = 0;
|
||||
struct pmic_power_module_info *pbi;
|
||||
@@ -739,7 +739,7 @@ wqueue_failed:
|
||||
return retval;
|
||||
}
|
||||
|
||||
static int __devinit platform_pmic_battery_probe(struct platform_device *pdev)
|
||||
static int platform_pmic_battery_probe(struct platform_device *pdev)
|
||||
{
|
||||
return probe(pdev->id, &pdev->dev);
|
||||
}
|
||||
|
Ссылка в новой задаче
Block a user