pinctrl: sunxi: refactor irq related register function to have desc
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 16 Mar 2018 14:02:07 +0000 (22:02 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Mar 2018 13:04:10 +0000 (15:04 +0200)
commit4b0d6c5a0014beef5423a380f12b9411ebf0c907
tree04ae4567224d63c78e9e885329198c983c574c00
parent27a3ba538b831ef61e3fda3951ff30158d4ce934
pinctrl: sunxi: refactor irq related register function to have desc

As the new H6 SoC has holes in the IRQ registers, refactor the IRQ
related register function for getting the full pinctrl desc structure.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c
drivers/pinctrl/sunxi/pinctrl-sunxi.h