]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd108973936332861d339f6da34f81ce0726a15a4
treec5fc2653d70a884d42957b2c7bc0c8cd49d8b895
parent697014820913905360fd7155475b683ea66ba1c7
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