Re: [PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation

2015-07-24 Thread Stephen Boyd
On 07/22, Vaibhav Hiremath wrote: This patch cleans up the driver for, - Use devm_kcalloc varient instead of devm_kzalloc for array allocation. - clk_prepare/unprepare, remove ret variable as it is not required - use __exit for cleanup function As I am referring this driver as

Re: [PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation

2015-07-22 Thread Anand Moon
Hi Vaibhav, On 22 July 2015 at 15:04, Vaibhav Hiremath vaibhav.hirem...@linaro.org wrote: This patch cleans up the driver for, - Use devm_kcalloc varient instead of devm_kzalloc for array allocation. - clk_prepare/unprepare, remove ret variable as it is not required - use __exit

[PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation

2015-07-22 Thread Vaibhav Hiremath
This patch cleans up the driver for, - Use devm_kcalloc varient instead of devm_kzalloc for array allocation. - clk_prepare/unprepare, remove ret variable as it is not required - use __exit for cleanup function As I am referring this driver as a reference for my 88pm800 clk driver,

Re: [PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation

2015-07-22 Thread Krzysztof Kozlowski
On 22.07.2015 18:34, Vaibhav Hiremath wrote: This patch cleans up the driver for, - Use devm_kcalloc varient instead of devm_kzalloc for array allocation. - clk_prepare/unprepare, remove ret variable as it is not required - use __exit for cleanup function As I am referring this