Linus Walleij 5ff8240e47 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>
2023-03-23 14:31:18 +01:00
..
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2022-10-26 14:52:02 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2022-06-21 18:01:11 +03:00
2023-03-06 12:33:02 +02:00
2022-06-06 14:09:16 +03:00
2021-11-08 11:55:21 -08:00
2023-02-22 11:01:17 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2019-12-09 10:40:18 +01:00
2023-01-30 15:55:31 +01:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2022-10-24 12:30:26 +03:00