diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2024-06-03 20:19:38 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-06-17 09:50:11 +0200 |
commit | 1583dc1627f6f9a24f570eec53fa20f1b4a5758f (patch) | |
tree | c29d6d60deb8e6ba60143dde4262431315a5ac82 /tools/perf/scripts/python/task-analyzer.py | |
parent | 1d1f3b8490b57c388a65f6c81fd867b1ec7e836b (diff) |
pinctrl: bcm2835: Use string_choices API instead of ternary operator
Use modern string_choices API instead of manually determining the
output using ternary operator.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240603181938.76047-3-wahrenst@gmx.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions