projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56aad1
)
ARM: exynos: exynos-cpufreq platform device isn't supported anymore
author
Viresh Kumar
<
[email protected]
>
Wed, 30 Mar 2016 08:15:27 +0000
(13:45 +0530)
committer
Rafael J. Wysocki
<
[email protected]
>
Fri, 8 Apr 2016 23:18:42 +0000
(
01:18
+0200)
The driver is removed long back and we don't support this device
anymore. Stop adding it.
Signed-off-by: Viresh Kumar <
[email protected]
>
Reviewed-by: Krzysztof Kozlowski <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
arch/arm/mach-exynos/exynos.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/exynos.c
b/arch/arm/mach-exynos/exynos.c
index bbf51a46f772d3a6d2b8a0e4f1546f783ec97022..4dfce1069406ea20130000a82a1c34949877d6d5 100644
(file)
--- a/
arch/arm/mach-exynos/exynos.c
+++ b/
arch/arm/mach-exynos/exynos.c
@@
-232,12
+232,8
@@
static void __init exynos_cpufreq_init(void)
const struct of_device_id *match;
match = of_match_node(exynos_cpufreq_matches, root);
- if (!match) {
- platform_device_register_simple("exynos-cpufreq", -1, NULL, 0);
- return;
- }
-
- platform_device_register_simple(match->data, -1, NULL, 0);
+ if (match)
+ platform_device_register_simple(match->data, -1, NULL, 0);
}
static void __init exynos_dt_machine_init(void)