Re: [PATCH 1/1] gpio: Fix ngpio in gpio-xilinx driver
From: Gernot Vormayr
Date: Tue Sep 23 2014 - 18:48:42 EST
On Tue, Sep 23, 2014 at 5:38 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/