Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 18 Jul 2022 11:30:46 +0200 | Subject | Re: [PATCH v2 3/6] gpiolib: cdev: replace if-else chains with switches |
| |
On Thu, Jul 14, 2022 at 4:04 AM Kent Gibson <warthog618@gmail.com> wrote:
> Improve readability by replacing if-else chains with switch > statements. > > Signed-off-by: Kent Gibson <warthog618@gmail.com> > Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Yep that is more readable with the switch syntactic sugar on top: Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |