gpio: davinci: Stop using ARCH_NR_GPIOS
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 2 Sep 2022 12:42:03 +0000 (14:42 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Oct 2022 09:02:44 +0000 (11:02 +0200)
commit95e827a1b0b7c8334d24da7b4a2d17ec5aa7374c
treec5695807e8d4f842ae16ec5ccc0f5d9462155cba
parent95b39792c6646322e0684f1a1aa395ee82b6f3fb
gpio: davinci: Stop using ARCH_NR_GPIOS

Since commit 14e85c0e69d5 ("gpio: remove gpio_descs global array")
there is no global limitation anymore on the number of GPIOs in
the system so don't clamp the number of GPIOs with ARCH_NR_GPIOS.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-davinci.c