]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: tps65218: remove unneeded callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 2 Jul 2025 09:14:10 +0000 (11:14 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Jul 2025 07:45:30 +0000 (09:45 +0200)
commit913cbf8a0d4b0554d66cdc608b231cdf2401a496
tree9f1c64d53ee448c170c3ec59189ab73f7ff2fe77
parent2a5be7a80b3b1036fba5dae13dd55c97fb7eabaa
gpio: tps65218: remove unneeded callbacks

GPIO core can handle output-only chips that don't implement the get()
and direction_input() callbacks. There's no need to provide dummy
implementation of the latter in the driver so drop it.

Link: https://lore.kernel.org/r/20250702-gpiochip-set-rv-gpio-round3-v1-9-0d23be74f71d@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tps65218.c