CPUFREQ: Loongson1: Use devm_kzalloc() instead of global structure
authorKelvin Cheung <keguang.zhang@gmail.com>
Tue, 12 Apr 2016 10:40:18 +0000 (18:40 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:08 +0000 (14:02 +0200)
commit99bf2e68988f46d969329dc964950062e805ed1b
tree5303634d0ba3633492618afa4ee727eb3f5511f9
parent25581d2b76ef8564d592bf3bc61a5d6d4f5f2ea2
CPUFREQ: Loongson1: Use devm_kzalloc() instead of global structure

This patch uses devm_kzalloc() instead of global structure.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: linux-pm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13055/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/cpufreq/loongson1-cpufreq.c