Skip to content
Commit bde8c0e6 authored by Drew Fustini's avatar Drew Fustini Committed by Linus Walleij
Browse files

gpio: omap: improve coding style for pin config flags



Change the handling of pin config flags from if/else to switch
statement to make the code more readable and cleaner.

Suggested-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarDrew Fustini <drew@beagleboard.org>
Acked-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200722120755.230741-1-drew@beagleboard.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ecb55df8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment