diff options
author | Drew Fustini <[email protected]> | 2020-07-22 14:07:56 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-07-23 15:05:23 +0200 |
commit | bde8c0e64c78633612aaf283692f72bef0bbc549 (patch) | |
tree | 45ce1ea6d6168b2b92d9b29bf2ba80b368fe8e16 /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Signed-off-by: Drew Fustini <[email protected]>
Acked-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions