mfd: da9052: Fix genirq abuse
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 May 2012 17:53:23 +0000 (18:53 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 May 2012 18:14:02 +0000 (19:14 +0100)
commit8614419451d88bf99fff7f5e468fe45f8450891e
tree1a2ffca8a37b8e88612d9f168afc53ca880e8d96
parentdd775ae2549217d3ae09363e3edb305d0fa19928
mfd: da9052: Fix genirq abuse

Rather than using the pointer passed back by the regmap API (or complaining
because that wasn't actually being set) the da9052 driver was having some
fun and games peering through genirq and regmap internals. Fix the driver
to use the API as expected.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/da9052-core.c
include/linux/mfd/da9052/da9052.h