commit | 91b5e741184ea9836cd7d7509e4f9b6eefa27df2 | [log] [tgz] |
---|---|---|
author | Marc Reilly <marc@cpdesign.com.au> | Sun Apr 01 16:41:37 2012 +1000 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue May 01 12:35:40 2012 +0200 |
tree | c79a1dc342b2e8fcb05d02db03f165296eac02b8 | |
parent | 5006fe546a4eb0393782b818d4e0e2a6b4fa3803 [diff] |
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>