[PATCH V1 3/5] cpufreq: Loongson1: Use dev_get_platdata() to get platform_data

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch uses dev_get_platdata() to get the platform_data instead of referencing it directly. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V1 3/5] cpufreq: Loongson1: Use dev_get_platdata() to get platform_data

2016-04-12 Thread Keguang Zhang
From: Kelvin Cheung This patch uses dev_get_platdata() to get the platform_data instead of referencing it directly. Signed-off-by: Kelvin Cheung --- drivers/cpufreq/loongson1-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/loongson1-cpufreq.c