Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 18 Jul 2022 11:31:44 +0200 | Subject | Re: [PATCH v2 4/6] gpiolib: cdev: simplify line event identification |
| |
On Thu, Jul 14, 2022 at 4:04 AM Kent Gibson <warthog618@gmail.com> wrote:
> Reorganise line event identification code to reduce code duplication, > and replace if-else initializers with a helper function to improve > readability. > > Signed-off-by: Kent Gibson <warthog618@gmail.com> > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Yep more readable. Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |