summaryrefslogtreecommitdiff
path: root/drivers/clk/zte/clk.h
diff options
context:
space:
mode:
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>2015-07-22 12:34:53 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-07-28 21:59:32 +0300
commit7764d0cdc3dbf15010f66e0e2e5786f0f03d402a (patch)
tree8495532344aadc3452bab51a056a33454020c595 /drivers/clk/zte/clk.h
parenta57aa18539f8b232065f574f438edb646c6b9d9b (diff)
downloadlinux-7764d0cdc3dbf15010f66e0e2e5786f0f03d402a.tar.xz
clk: s2mps11: Use kcalloc instead of kzalloc for array allocation
This patch cleans up the driver for, - Use devm_kcalloc() variant 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, applying same changes here as well. Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Tested-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/zte/clk.h')
0 files changed, 0 insertions, 0 deletions