gpio: pmic-eic-sprd: Make the irqchip immutable
authorCixi Geng <cixi.geng1@unisoc.com>
Thu, 29 Dec 2022 14:55:44 +0000 (22:55 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 30 Dec 2022 15:58:58 +0000 (16:58 +0100)
commitbe43eea7de5a3977ac3d13fbfb9e505fab475e97
tree207e44c3f97db51605f52bd8a2e4887c1eafb42d
parent2788938b794633fc1865c805764bed196e01f97e
gpio: pmic-eic-sprd: Make the irqchip immutable

Remove the irq_chip from pmic_eic structure,
use the various calls by defining the statically
irq_chip structure.

Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-pmic-eic-sprd.c