Re: [PATCH v3 3/3] pinctrl: qcom: Don't allow protected pins to be requested
From: Andy Shevchenko
Date: Wed Mar 21 2018 - 16:30:16 EST
On Wed, 2018-03-21 at 13:04 -0700, Stephen Boyd wrote:
> Quoting Andy Shevchenko (2018-03-21 11:07:09)
> > On Wed, 2018-03-21 at 09:58 -0700, Stephen Boyd wrote:
> > >
> Or ternary?
>
> return gpiochip_line_is_valid(chip, offset) ? 0 : -EINVAL;
Fine with me!
--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy