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

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces kzalloc() with kcalloc() when allocating frequency table, and remove unnecessary 'out of memory' message. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 12 1 file

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

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch replaces kzalloc() with kcalloc() when allocating frequency table, and remove unnecessary 'out of memory' message. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git