mfd: Implement tps6586x gpio_to_irq
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 13 Nov 2012 13:48:07 +0000 (19:18 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 13 Nov 2012 19:02:15 +0000 (20:02 +0100)
The TPS6586x adds the interrupt of this device using
linear mapping on irq domain.
Hence, implement gpio_to_irq to get the irq number
corresponding to TPS6586x GPIOs which is created
dynamically.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found