OSDN Git Service

irqchip: brcmstb-l2: Convert driver to use irq_reg_{readl,writel}
authorKevin Cernekee <cernekee@gmail.com>
Fri, 7 Nov 2014 06:44:29 +0000 (22:44 -0800)
committerJason Cooper <jason@lakedaemon.net>
Sun, 9 Nov 2014 04:03:35 +0000 (04:03 +0000)
commit1abbdbac362af44f337fdbae5dcbe8d9ced8d063
tree687095c1455ac91cad72d0a301e141b51f3e6b83
parentc17261fac3874767bf5478ffb27b843ac66d1f5d
irqchip: brcmstb-l2: Convert driver to use irq_reg_{readl,writel}

This effectively converts the __raw_ accessors to the non-__raw_
equivalents.  To handle BE, we pass IRQ_GC_BE_IO, similar to what was
done in irq-bcm7120-l2.c.

Since irq_reg_writel now takes an irq_chip_generic argument, writel must
be used for the initial hardware reset in the probe function.  But that
operation never needs endian swapping, so it's probably not a big deal.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/1415342669-30640-15-git-send-email-cernekee@gmail.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-brcmstb-l2.c