Files
Linux/include/linux
Johan Hovold eee3919c5f gpio: drop broken to_gpio_irq_chip() helper
Drop the broken to_gpio_irq_chip() container_of() helper, which would
break the build for anyone who tries to use it.

Specifically, struct gpio_irq_chip only holds a pointer to a struct
irq_chip so using container_of() on an irq-chip pointer makes no sense.

Fixes: da80ff81a8 ("gpio: Move irqchip into struct gpio_irq_chip")
Cc: Thierry Reding <[email protected]>
Cc: Grygorii Strashko <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
2018-11-16 22:46:02 +01:00
..
2018-10-31 10:57:43 -07:00
…
…
2018-10-18 15:41:21 -07:00
…
…
2018-10-16 11:13:50 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-31 19:24:21 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-11-01 19:59:53 -06:00
…
…
…
…
…
2018-10-19 13:24:31 -07:00
2018-10-19 13:24:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-26 16:26:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-21 10:46:33 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-09 07:50:41 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-31 08:54:15 -07:00
…
…
2018-10-31 08:54:14 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-17 13:56:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-21 10:46:39 -04:00
…
…
…
…
…
…
…
…
…
…
2018-10-26 16:26:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-08 22:53:10 +11:00
…
…
…
…
…
…
…
…
…
…
…
2018-10-26 16:26:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-11 09:16:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-24 00:41:07 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-10-21 10:46:46 -04:00
…
…
…
…
…
…
…
…
…
…
…