On Wed, Oct 21, 2020 at 1:25 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > Half of the code in the GPIO library is written in an expectation that > any non-zero value returned from the ->request() callback is an error code, > while some code checks only for negative values. > > Unify expectations about ->request() returned value to be non-zero > for an error and 0 for the success. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- Applied, thanks! Bartosz