]> asedeno.scripts.mit.edu Git - linux.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)
commit8c1d50a6a7aa29a45a43b6073cf540eb7ee028a5
treef50268a2153488a79a9623908101aa735f7dd107
parent57ef04288abd27a717287a652d324f95cb77c3c6
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