[PATCH 5.15 091/297] gpio: Add helpers to ease the transition towards immutable irq_chip