]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (da9055) Remove use of regmap_irq_get_virq()
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Thu, 6 Feb 2014 18:03:17 +0000 (18:03 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 7 Feb 2014 01:22:33 +0000 (17:22 -0800)
commit27e59223c3e706649aa11f5334d94b98318834ba
tree0a637975e2cae6776f8bb74fb4d412c352840238
parent51d31b7de4d6120a3c244c074aafd34444204620
hwmon: (da9055) Remove use of regmap_irq_get_virq()

Remove use of regmap_irq_get_virq() in driver probe which was
conflicting with use of platform_get_irq_byname().
platform_get_irq_byname() already returns the VIRQ number due
to MFD core translation so using regmap_irq_get_virq() on that
returned value results in an incorrect IRQ being requested.
The driver probes then fail because of this.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/da9055-hwmon.c