regulator: da9063: Do not transform local IRQ to virtual
authorDmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Fri, 21 Nov 2014 15:29:08 +0000 (18:29 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 21 Nov 2014 18:14:08 +0000 (18:14 +0000)
commit8ad365c94f45c63f2a65dd3814d1db27c388e20e
treedbee563d2908d72de5e8ce11b7b6af81cbb369db
parentf114040e3ea6e07372334ade75d1ee0775c355e1
regulator: da9063: Do not transform local IRQ to virtual

Call platform_get_irq_byname() already returns VIRQ instead of local
IRQ. Passing this value to regmap_irq_get_virq() causes error which
results in IRQ registration failure. This patch fixes such behaviour.

Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9063-regulator.c