[PATCH RESEND] ARM: sa1100 collie: use gpio-charger instead of pda-power

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Fri Nov 14 04:59:55 PST 2014


2014-11-06 10:27 GMT+03:00 Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>:
> 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 <dbaryshkov at gmail.com>
> ---
>  arch/arm/mach-sa1100/collie.c | 55 ++++++-------------------------------------
>  1 file changed, 7 insertions(+), 48 deletions(-)

Russell, still no reaction from your side. Can I submit this patch to
your patch tracker?

-- 
With best wishes
Dmitry



More information about the linux-arm-kernel mailing list