diff options
author | 2020-07-09 20:11:58 +0300 | |
---|---|---|
committer | 2020-07-16 10:50:40 +0200 | |
commit | 4ee82256ee57db5c929d3c2f81f6620a0b31b4cd (patch) | |
tree | 3cee5ce857f85fe1309beec000d97392720b533c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge tag 'gpio-updates-for-v5.9-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into devel (diff) | |
download | linux-dev-4ee82256ee57db5c929d3c2f81f6620a0b31b4cd.tar.xz linux-dev-4ee82256ee57db5c929d3c2f81f6620a0b31b4cd.zip |
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 <digetx@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Link: https://lore.kernel.org/r/20200709171203.12950-2-digetx@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions