pinctrl: sunxi: Remove irq_mask_ack and use irq_ack instead
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Jun 2014 13:26:00 +0000 (15:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Jun 2014 07:35:11 +0000 (09:35 +0200)
commit645ec714545bca2a0ed13d7ac5b97d95e09da853
tree83a9f1880fac6de6a4e9bbcf29879f2cf63a7b04
parent7171511eaec5bf23fb06078f59784a3a0626b38f
pinctrl: sunxi: Remove irq_mask_ack and use irq_ack instead

If irq_mask_ack is not defined, mask_ack_irq will call irq_mask and then
irq_ack. In order to avoid code duplication, between irq_mask_ack and irq_mask,
just declare irq_ack.

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