gpio: davinci: Stop using ARCH_NR_GPIOS
Bugzilla: https://bugzilla.redhat.com/2234115
commit 95e827a1b0b7c8334d24da7b4a2d17ec5aa7374c Author: Christophe Leroy christophe.leroy@csgroup.eu Date: Fri Sep 2 14:42:03 2022 +0200
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>
Signed-off-by: Steve Best sbest@redhat.com