commit | a19fe2d45cc550ca42a3b0be3e716a8452e4b0c6 | [log] [tgz] |
---|---|---|
author | Tomasz Figa <t.figa@samsung.com> | Thu Oct 11 10:11:20 2012 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Oct 15 09:10:12 2012 +0200 |
tree | 61a08c16723f3cab0deeb89ff3ab753513916bb9 | |
parent | 22b9ba033bb4401e4cceb69c9e1af74a4631dd74 [diff] |
pinctrl: samsung: Add GPIO to IRQ translation Some drivers require a way to translate GPIO pins to their IRQ numbers. This patch adds the .to_irq() gpiolib callback to pinctrl-samsung driver, which creates (if not present yet) and returns an IRQ mapping for given GPIO pin. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>