]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: coh901: move irq line locking to resource callbacks
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Mar 2014 17:24:30 +0000 (18:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Mar 2014 08:28:30 +0000 (09:28 +0100)
commit66df5a19cd1d7f3352b74d0a22529f0f5919f6f6
treef50268a2153488a79a9623908101aa735f7dd107
parent1fecc56a97f24c1be3cf76538d19340202a2b2d6
pinctrl: coh901: move irq line locking to resource callbacks

This switches the COH901 GPIO driver over to using the
.request_resources() and .release_resources() callbacks from
the irqchip vtable and separate the calls from the .enable()
and .disable() callbacks as the latter cannot really say no
to a request, whereas the resource callbacks can.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-coh901.c