From: Dmitry Eremin-Solenikov Date: Fri, 21 Nov 2014 15:26:29 +0000 (+0100) Subject: ARM: 8217/1: sa1100 collie: use gpio-charger instead of pda-power X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=119acbd24c54d73c8941f43f16817c3417237413;p=linux-beck.git ARM: 8217/1: sa1100 collie: use gpio-charger instead of pda-power Use gpio-charger driver instead of pda-power: it automatically cares about used gpio and since collie does not differentiate between usb and ac chargers, pda-power is an overkill for it. As a bonus this allows us to remove gpio_to_irq calls from machine init call - it is fragile. These gpio_to_irq calls will fail if gpios are registered later, via device driver mechanisms. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Russell King --- diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 108939f8d053..b90c7d828391 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include