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

From: Stephen Boyd
Date: Fri Jul 24 2015 - 17:39:09 EST


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 a reference for my 88pm800 clk driver,
> applying same changes here as well.
>
> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@xxxxxxxxxx>
> ---

Applied to clk-next

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/