diff options
author | Drew Fustini <drew@beagleboard.org> | 2020-07-22 14:07:56 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-23 15:05:23 +0200 |
commit | bde8c0e64c78633612aaf283692f72bef0bbc549 (patch) | |
tree | 45ce1ea6d6168b2b92d9b29bf2ba80b368fe8e16 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ecb55df8f3a8f30cb188a8bd3c9d0b977eb92e09 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions