From: Linus Walleij Date: Wed, 20 Nov 2013 09:16:54 +0000 (+0100) Subject: gpio: em: lock IRQs when starting them X-Git-Tag: v3.14-rc1~145^2~46^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc616236961e39e0fefecb4301f9e4632e4a511;p=pandora-kernel.git 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 Cc: Simon Horman Acked-by: Magnus Damm Signed-off-by: Linus Walleij --- Reading git-diff-tree failed