Re: [RFC 1/5] gpiolib: factorize gpiod_get/set functions
From: Alexandre Courbot <hidden>
Date: 2013-09-21 12:39:37
Also in:
linux-arch, linux-gpio, lkml
From: Alexandre Courbot <hidden>
Date: 2013-09-21 12:39:37
Also in:
linux-arch, linux-gpio, lkml
On Fri, Sep 20, 2013 at 5:36 PM, Linus Walleij [off-list ref] wrote:
On Wed, Sep 4, 2013 at 1:29 PM, Alexandre Courbot [off-list ref] wrote:quoted
gpiod_get/set functions share common code between their regular and cansleep variants. The exporting of the gpiod interface will make the situation worse. This patch factorizes the common code to avoid code redundancy. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>I don't see why this patch should be RFC? I just rebased and applied it, it's a clean and nice refactoring.
Oh yeah, I just sent it with the others, but please feel free to apply it as-is. It should be fine. Alex.