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

From: Mark Brown
Date: Thu Mar 15 2012 - 13:43:55 EST


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 regmap init.

Reviwed-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

For rmw please push the trace down into regmap as a new tracepoint if
you find it useful; one of the wins from regmap is intended to be the
trace and diagnostic infrastructure you get for free with it. At the
minute only the underlying reads and writes have trace.

Attachment: signature.asc
Description: Digital signature