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)
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>

No differences found