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)
commit805f864ebefc39065b6b0cf2548f13c2fbf888d9
tree08250172d9e0685eea2f1d728a0f4a236acb88bd
parent86605cfe8c7c166999bc7476b17940c68bf2f8b7
gpio: pcf857x: use client->irq for gpio_to_irq()

6e20a0a429bd4dc07d6de16d9c247270e04e4aa0
(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