Re: [PATCH] gpio: omap: improve coding style for pin config flags

From: Linus Walleij
Date: Thu Jul 23 2020 - 09:05:59 EST


On Wed, Jul 22, 2020 at 2:09 PM Drew Fustini <drew@xxxxxxxxxxxxxxx> wrote:

> Change the handling of pin config flags from if/else to switch
> statement to make the code more readable and cleaner.
>
> Suggested-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
> Signed-off-by: Drew Fustini <drew@xxxxxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij