pinctrl: sunxi: Use common functions to change irq_chip and handler
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 20 Jul 2015 12:41:11 +0000 (14:41 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 12:05:04 +0000 (14:05 +0200)
commita0d6de9bdf8d66be458fcda5898a799778169c60
tree44f989afb4368cef9c693fd7414e4abd7882c329
parent38b0e5071eca4db618e796a2f1dbad3b20c01358
pinctrl: sunxi: Use common functions to change irq_chip and handler

The current code uses some custom variable affectations, while we have
common functions to do exactly that. Move to the common functions.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c