CPUFREQ: Loongson1: Use dev_get_platdata() to get platform_data
authorKelvin Cheung <[email protected]>
Tue, 12 Apr 2016 10:40:17 +0000 (18:40 +0800)
committerRalf Baechle <[email protected]>
Fri, 13 May 2016 12:02:08 +0000 (14:02 +0200)
commit25581d2b76ef8564d592bf3bc61a5d6d4f5f2ea2
treee376b236c10cd04875fa26931f5b4ede9961c42b
parent379e38a763dd63838411cc2fa765515e7535570b
CPUFREQ: Loongson1: Use dev_get_platdata() to get platform_data

This patch uses dev_get_platdata() to get the platform_data
instead of referencing it directly.

Signed-off-by: Kelvin Cheung <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13054/
Signed-off-by: Ralf Baechle <[email protected]>
drivers/cpufreq/loongson1-cpufreq.c