[PATCH v2] gpio: rewrite U300 GPIO to use gpiolib

Grant Likely grant.likely at secretlab.ca
Thu Sep 8 01:02:04 EDT 2011


On Wed, Sep 7, 2011 at 11:02 AM, Grant Likely <grant.likely at secretlab.ca> wrote:
> On Wed, Sep 07, 2011 at 10:11:25AM +0200, Linus Walleij wrote:
>> From: Linus Walleij <linus.walleij at linaro.org>
>>
>> This rewrites the U300 GPIO so as to use gpiolib and
>> struct gpio_chip instead of just generic GPIO, hiding
>> all the platform specifics and passing in GPIO chip
>> variant as platform data at runtime instead of the
>> compiletime kludges.
>>
>> As a result <mach/gpio.h> is now empty for U300 and
>> using just defaults.
>>
>> Cc: Russell King <linux at arm.linux.org.uk>
>> Cc: Grant Likely <grant.likely at secretlab.ca>
>> Cc: Debian kernel maintainers <debian-kernel at lists.debian.org>
>> Cc: Arnaud Patard <arnaud.patard at rtp-net.org>
>> Reported-by: Ben Hutchings <ben at decadent.org.uk>
>> Signed-off-nu: Linus Walleij <linus.walleij at linaro.org>
>             ^^
> Your keyboard needs to be shifted 1cm to the right. :-)
>
> I'll pick it up, but there are some things that I've commented on
> below that needs to be addressed in follow up patches.

Hmmm, it doesn't apply against mainline.  Do you want to take it
through your tree?

g.



More information about the linux-arm-kernel mailing list