mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
drivers: sh: Stop using the legacy clock domain on ARM
Since commits71d076ceb2("ARM: shmobile: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains") and2ee98234b8("arm64: renesas: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains"), CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled unconditionally for Renesas ARM-based SoCs. Hence the legacy clock domain is no longer used on these SoCs. Remove the related support code, and stop entering drivers/sh/ on ARM. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Simon Horman <[email protected]>
This commit is contained in:
parent
1a695a905c
commit
4c6d7e2289
2 changed files with 0 additions and 10 deletions
|
|
@ -34,15 +34,6 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
|
|||
|
||||
static int __init sh_pm_runtime_init(void)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
|
||||
if (!of_find_compatible_node(NULL, NULL,
|
||||
"renesas,cpg-mstp-clocks"))
|
||||
return 0;
|
||||
if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) &&
|
||||
of_find_node_with_property(NULL, "#power-domain-cells"))
|
||||
return 0;
|
||||
}
|
||||
|
||||
pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue