Re: [PATCH 2/5] cpufreq: Loongson1: Replace kzalloc() with kcalloc()

From: Viresh Kumar
Date: Tue Apr 12 2016 - 01:18:17 EST


On 11-04-16, 19:55, Keguang Zhang wrote:
> From: Kelvin Cheung <keguang.zhang@xxxxxxxxx>
>
> This patch replaces kzalloc() with kcalloc() when allocating
> frequency table, and remove unnecessary 'out of memory' message.
>
> Signed-off-by: Kelvin Cheung <keguang.zhang@xxxxxxxxx>
> ---
> drivers/cpufreq/loongson1-cpufreq.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh