Skip to content
Commit 4ee82256 authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Linus Walleij
Browse files

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: default avatarDmitry Osipenko <digetx@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Link: https://lore.kernel.org/r/20200709171203.12950-2-digetx@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1752911c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment