summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ws16c48.c
diff options
context:
space:
mode:
authorDrew Fustini <drew@beagleboard.org>2020-07-22 15:07:56 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-07-23 16:05:23 +0300
commitbde8c0e64c78633612aaf283692f72bef0bbc549 (patch)
tree45ce1ea6d6168b2b92d9b29bf2ba80b368fe8e16 /drivers/gpio/gpio-ws16c48.c
parentecb55df8f3a8f30cb188a8bd3c9d0b977eb92e09 (diff)
downloadlinux-bde8c0e64c78633612aaf283692f72bef0bbc549.tar.xz
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: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Drew Fustini <drew@beagleboard.org> Acked-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20200722120755.230741-1-drew@beagleboard.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ws16c48.c')
0 files changed, 0 insertions, 0 deletions