]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/mfd/mc13xxx-core.c
mfd: Use regmap for the mc13xxx-core register access
authorMarc Reilly <marc@cpdesign.com.au>
Sun, 1 Apr 2012 06:41:37 +0000 (16:41 +1000)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 1 May 2012 10:35:40 +0000 (12:35 +0200)
commit91b5e741184ea9836cd7d7509e4f9b6eefa27df2
treec79a1dc342b2e8fcb05d02db03f165296eac02b8
parent5006fe546a4eb0393782b818d4e0e2a6b4fa3803
mfd: Use regmap for the mc13xxx-core register access

This change converts the mc13xxx core to use regmap rather than direct
spi r/w.
The spidev member of mc13xxx struct becomes redundant and is removed.
Extra debugging aids are added to mc13xxx_reg_rmw.
Mutex init is moved to before regmap init.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/mc13xxx-core.c