]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: max77759: drop use of irqd_get_trigger_type
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 17 Dec 2025 11:45:06 +0000 (11:45 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Fri, 2 Jan 2026 10:01:13 +0000 (11:01 +0100)
commit9d8107579ce4f2369ea3f670585710c30b14a4b4
treed5efcc11b7ce14501b6d610e81b236a054eb62cb
parent2b03d9a40cd1fea42fd65d2b66df80edc0f374c8
gpio: max77759: drop use of irqd_get_trigger_type

irqd_get_trigger_type() is meant for cases where the driver needs to
know the configured IRQ trigger type and e.g. wants to change its
behaviour accordingly. Furthermore, platform support code, e.g. DT
handling, will configure the hardware based on that, and drivers don't
need to pass the trigger type into request_irq() and friends.

Drop the use from this driver, as it doesn't need to know the trigger
type.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20251217-max77759-gpio-irq-trigger-v1-1-5738953c1172@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-max77759.c