diff options
author | Dmitry Osipenko <[email protected]> | 2020-07-09 20:11:58 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-07-16 10:50:40 +0200 |
commit | 4ee82256ee57db5c929d3c2f81f6620a0b31b4cd (patch) | |
tree | 3cee5ce857f85fe1309beec000d97392720b533c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1752911c6d10675154f1c8c8ba54331604cdbca7 (diff) |
gpio: max77620: Replace 8 with MAX77620_GPIO_NR
The MAX77620_GPIO_NR enum value represents the total number of GPIOs,
let's use it instead of a raw value in order to improve the code's
readability a tad.
Signed-off-by: Dmitry Osipenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Laxman Dewangan <[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