]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pcf857x: use client->irq for gpio_to_irq()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 6 Dec 2012 09:10:28 +0000 (01:10 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Dec 2012 08:16:12 +0000 (09:16 +0100)
commitbee3c029485f7cd3a5da17721a798b0192b9607b
tree08250172d9e0685eea2f1d728a0f4a236acb88bd
parente630cf3ff1bc2f38c41280788825f912f179457e
gpio: pcf857x: use client->irq for gpio_to_irq()

8a7a887949fe1fab41e26d1aee2071606b145b53
(gpio: pcf857x: enable gpio_to_irq() support)
added gpio_to_irq() support on pcf857x driver,
but it used pdata->irq.
This patch modifies driver to use client->irq instead of it.
It modifies kzm9g board platform settings,
and device probe information too.
This patch is tested on kzm9g board

Reported-by: Christian Engelmayer <christian.engelmayer@frequentis.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-shmobile/board-kzm9g.c
drivers/gpio/gpio-pcf857x.c
include/linux/i2c/pcf857x.h