[PATCH 1/1] gpio: Fix ngpio in gpio-xilinx driver
From: Gernot Vormayr <hidden>
Date: 2014-09-23 22:48:39
Also in:
linux-gpio, lkml
From: Gernot Vormayr <hidden>
Date: 2014-09-23 22:48:39
Also in:
linux-gpio, lkml
On Tue, Sep 23, 2014 at 5:38 PM, Linus Walleij [off-list ref] 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