mfd: Convert WM831x to use regmap API
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Jun 2011 18:28:10 +0000 (19:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Aug 2011 11:23:22 +0000 (12:23 +0100)
commit1df5981b82d9eabdd6e66d1d9514164c02329345
treec5fc2653d70a884d42957b2c7bc0c8cd49d8b895
parentbd20eb541ebbb17a5e047cd20e74b9ccf19a4123
mfd: Convert WM831x to use regmap API

Factor out the register read/write code to use the register map API.  We
still need some wm831x specific code and locking in place to check that
the user key is handled correctly but only on the write side, reads are
not affected by the key.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/wm831x-core.c
drivers/mfd/wm831x-i2c.c
drivers/mfd/wm831x-spi.c
include/linux/mfd/wm831x/core.h