gpio: sprd: Make the irqchip immutable
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: NCixi Geng <cixi.geng1@unisoc.com> Reported-by: Nkernel test robot <lkp@intel.com> Reported-by: NJulia Lawall <julia.lawall@lip6.fr> Reviewed-by: NBaolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: NBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Showing
想要评论请 注册 或 登录