On Mon, Feb 15, 2016 at 10:14 AM, Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx> wrote: > At first view I thought this function returned an error, but actually > it is the input direction. Use the define for input which makes reading > the code much easier. > > Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx> NACK that flag is for consumers, not drivers. Drivers have their own API and should ideally return a bool true/false, but that would be another major refactoring.... 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