On Wed, Apr 29, 2015 at 5:34 PM, Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx> wrote: > This reverts commit 25b35da7f4cce82271859f1b6eabd9f3bd41a2bb. > > The original change is a fast workaround in GPIO generic driver, > which is properly fixed by Alexandre's 23600969ff centralized handling > of return values from GPIO chip drivers. > > To avoid a redundant check and copy/paste confusion, it is better to > revert the change done in a particular driver. > > Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx> I'm gonna drop this patch, because the code is helpful like this, clear to see what is going on. In the long run I want to change the signature of the get/set functions to take bools because that is what they actually handle. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html