On Wed, Oct 21, 2020 at 4:25 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > Several places in the code are using same idiom, i.e. > IS_ERR(desc) && PTR_ERR(desc) == -ENOENT > which meaning is GPIO description is not found. > > For better readability extract gpiod_not_found() helper and use it. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- Applied, thanks! Bartosz