summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-adp5520.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-03-20 12:55:09 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-03-23 16:31:18 +0300
commit5ff8240e47de33db6c0098368784672bd47d57cb (patch)
treec69ed2a7d09f3fdfe30975a43a01c6c3e65d8bc5 /drivers/gpio/gpio-adp5520.c
parent957e64bee8eecd3d3c767ab6577c4bf5c4230128 (diff)
downloadlinux-5ff8240e47de33db6c0098368784672bd47d57cb.tar.xz
gpio: siox: Convert to immutable irq_chip
Convert the driver to immutable irq-chip with a bit of intuition. In this case I had to figure out a way to get to the struct gpio_chip that would work even when the irq_chip is not part of the driver state container. I did this by just doing what most other GPIO drivers do and pass the state struct as data to devm_gpiochip_add_data() and rewrite accordingly. Cc: Marc Zyngier <maz@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-adp5520.c')
0 files changed, 0 insertions, 0 deletions