Re: [PATCH] regulator: Use mc13xxx_reg_write instead ofmc13xxx_reg_rmw in mc13892_sw_regulator_set_voltage

From: Mark Brown
Date: Mon May 09 2011 - 05:56:29 EST


On Mon, May 09, 2011 at 05:49:40PM +0800, Axel Lin wrote:
> Currently, we call mc13xxx_reg_read and mc13xxx_reg_rmw for the same register.
> This can be converted to simply a mc13xxx_reg_read and a mc13xxx_reg_write,
> thus save a redundant register read.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/