All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Make irq_chip immutable for ISA drivers
@ 2022-09-02 17:45 William Breathitt Gray
  2022-09-02 17:45 ` [PATCH 1/4] gpio: 104-dio-48e: Make irq_chip immutable William Breathitt Gray
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: William Breathitt Gray @ 2022-09-02 17:45 UTC (permalink / raw)
  To: brgl, linus.walleij; +Cc: linux-gpio, linux-kernel, William Breathitt Gray

Kernel warns about mutable irq_chips in ISA drivers:

    "not an immutable chip, please consider fixing!"

Make the struct irq_chip const, flag it as IRQCHIP_IMMUTABLE, add the
new helper functions, and call the appropriate gpiolib functions.

William Breathitt Gray (4):
  gpio: 104-dio-48e: Make irq_chip immutable
  gpio: 104-idi-48: Make irq_chip immutable
  gpio: 104-idio-16: Make irq_chip immutable
  gpio: ws16c48: Make irq_chip immutable

 drivers/gpio/gpio-104-dio-48e.c | 10 +++++++---
 drivers/gpio/gpio-104-idi-48.c  | 10 +++++++---
 drivers/gpio/gpio-104-idio-16.c | 18 +++++++++++-------
 drivers/gpio/gpio-ws16c48.c     | 10 +++++++---
 4 files changed, 32 insertions(+), 16 deletions(-)


base-commit: 6ae8e1d0d5e5de922315830aea975c63e8c70b2f
-- 
2.37.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-03 21:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-02 17:45 [PATCH 0/4] Make irq_chip immutable for ISA drivers William Breathitt Gray
2022-09-02 17:45 ` [PATCH 1/4] gpio: 104-dio-48e: Make irq_chip immutable William Breathitt Gray
2022-09-02 17:45 ` [PATCH 2/4] gpio: 104-idi-48: " William Breathitt Gray
2022-09-02 17:45 ` [PATCH 3/4] gpio: 104-idio-16: " William Breathitt Gray
2022-09-02 17:45 ` [PATCH 4/4] gpio: ws16c48: " William Breathitt Gray
2022-09-03 21:10 ` [PATCH 0/4] Make irq_chip immutable for ISA drivers Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.