Re: [PATCH v3 4/6] mfd: mc13xxx-core: use regmap for register access

2012-03-15 Thread Mark Brown
On Thu, Mar 15, 2012 at 07:43:08AM +1100, Marc Reilly wrote: 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

[PATCH v3 4/6] mfd: mc13xxx-core: use regmap for register access

2012-03-14 Thread Marc Reilly
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 m...@cpdesign.com.au ---