Re: [PATCH] regulator: s2mps11: Use array to save pointer to rdev

2012-08-01 Thread Mark Brown
On Fri, Jul 13, 2012 at 10:12:40AM +0800, Axel Lin wrote: > The number of regulator is known at compile time, use array to save pointer to > rdev makes the code simpler. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

[PATCH] regulator: s2mps11: Use array to save pointer to rdev

2012-07-12 Thread Axel Lin
The number of regulator is known at compile time, use array to save pointer to rdev makes the code simpler. Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/drivers/regulator/s2mps11.c b/dri