[PATCH 1/1] gpio: Fix ngpio in gpio-xilinx driver

Gernot Vormayr gvormayr at gmail.com
Tue Sep 23 15:48:36 PDT 2014


On Tue, Sep 23, 2014 at 5:38 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
>
> The fact that the same code appears in two places tells us something
> is not quite right. Can you look into consolidating this (in a separate
> patch)?


Well, I already thought about that, but since the second time is for the
second part of a dual gpio, which has different device tree property names,
the only way of consolidating that I can think of right now would be to
create a function that takes the property names. If you think that's ok,
I can try to come up with something.

Cheers,
Gernot Vormayr



More information about the linux-arm-kernel mailing list