[PATCH v2 2/2] regulator: use voltage number array in 88pm860x
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed May 5 07:18:34 EDT 2010
On Wed, May 05, 2010 at 01:35:59AM -0400, Haojian Zhuang wrote:
> From 5dbf0d4d5ad601b508730a8d0f5a41a1edb92561 Mon Sep 17 00:00:00 2001
> From: Haojian Zhuang <haojian.zhuang at marvell.com>
> Date: Tue, 4 May 2010 09:54:51 -0400
> Subject: [PATCH] regulator: use voltage number array in 88pm860x
>
> A lot of condition comparision statements are used in original driver. These
> statements are used to check the boundary of voltage numbers since voltage
> number isn't linear.
>
> Now use array of voltage numbers instead. Clean code with simpler way.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at marvell.com>
> Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Again I'm not clear on the changes but this does actually still look OK
for me.
More information about the linux-arm-kernel
mailing list