Re: [Patch] Regulator: Replace kzalloc with devm_kzalloc and if-else with a switch-case for da9052-regulator

2011-12-17 Thread Mark Brown
On Thu, Dec 15, 2011 at 06:59:53PM +0530, Ashish Jangam wrote: Reported-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: David Dajun Chen dc...@diasemi.com Signed-off-by: Ashish Jangam ashish.jan...@kpitcummins.com Applied, but this really should have been sent as two separate

[Patch] Regulator: Replace kzalloc with devm_kzalloc and if-else with a switch-case for da9052-regulator

2011-12-15 Thread Ashish Jangam
Reported-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: David Dajun Chen dc...@diasemi.com Signed-off-by: Ashish Jangam ashish.jan...@kpitcummins.com --- drivers/regulator/da9052-regulator.c | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git