[PATCH] gpiolib: Add of_get_gpio_chip_by_phandle() helper

Linus Walleij linus.walleij at linaro.org
Mon May 7 09:09:42 EDT 2012


On Wed, May 2, 2012 at 7:12 PM, viresh kumar <viresh.linux at gmail.com> wrote:

> There is one more way of doing this
> which is implemented for u300.
> There device node of gpio is added from pinctrl driver.
>
> I didn't liked that. Sorry Linus :(

Heh, I don't think it looks good either, but it works.

The most brutal way is to merge both driver into one file and only
spawn one device for them, with several memory resources associated.

Linus Walleij



More information about the linux-arm-kernel mailing list