summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-intel-mid.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-11-20 13:16:54 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-12-04 17:46:39 +0400
commit0dc616236961e39e0fefecb4301f9e4632e4a511 (patch)
tree051a364a6d83a1e779577d325aef7a64e054b8fc /drivers/gpio/gpio-intel-mid.c
parentdb6b3ad1772e0e0e82c52d6337378e79da2effad (diff)
downloadlinux-0dc616236961e39e0fefecb4301f9e4632e4a511.tar.xz
gpio: em: 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. ChangeLog v1->v2: - Satisfy implicit semantics by calling .enable and .disable callbacks in the startup/shutdown callbacks. Cc: Ian Molton <ian.molton@codethink.co.uk> Cc: Simon Horman <horms+renesas@verge.net.au> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-intel-mid.c')
0 files changed, 0 insertions, 0 deletions