diff options
author | Drew Fustini <drew@beagleboard.org> | 2020-07-22 15:07:56 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-23 16:05:23 +0300 |
commit | bde8c0e64c78633612aaf283692f72bef0bbc549 (patch) | |
tree | 45ce1ea6d6168b2b92d9b29bf2ba80b368fe8e16 /drivers/gpio/gpio-ws16c48.c | |
parent | ecb55df8f3a8f30cb188a8bd3c9d0b977eb92e09 (diff) | |
download | linux-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