]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: ds4520: don't check the 'ngpios' property in the driver
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 08:40:57 +0000 (10:40 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 17 Apr 2025 11:58:55 +0000 (13:58 +0200)
commitdf1540f8f311a8b2ef0e450e7e40710784acc8c7
tree63533b185cf417a09caa6f08188b1bc5173769df
parentf74195d4b245a188c424237a0375993c8e2865c7
gpio: ds4520: don't check the 'ngpios' property in the driver

This is already done by the gpio-regmap abstraction by calling
gpiochip_get_ngpios(). We don't need to do this at the driver level.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250408-gpio-regmap-ngpios-v2-1-26f254014f57@linaro.org
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-ds4520.c