pinctrl: sirf: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2014 09:07:07 +0000 (10:07 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2014 12:59:44 +0000 (13:59 +0100)
commit655dada62779917e2337b9abf8ab95e891cc0938
treeaea78ed54dd956163418259153b396b0ae22c7b3
parentb07ddcdcb28764d4deb26933d803cb38c370f01b
pinctrl: sirf: lock IRQs when starting them

This uses the new API for tagging GPIO lines as in use by
IRQs. This enforces a few semantic checks on how the underlying
GPIO line is used.

Also assign the gpio_chip.dev pointer to be used for error
messages.

Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sirf/pinctrl-sirf.c