gpio: ws16c48: Make irq_chip immutable
Kernel warns about mutable irq_chips:
"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.
Signed-off-by: NWilliam Breathitt Gray <william.gray@linaro.org>
Signed-off-by: NBartosz Golaszewski <brgl@bgdev.pl>
Showing
想要评论请 注册 或 登录