diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-08-06 19:09:31 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-03 19:44:56 -0400 |
commit | 7fcb304792649e763e460c47abc4c53085bffaee (patch) | |
tree | 6957aa41304b185780296b09b0b0c931b6cebedb /arch/arm/mach-shmobile/setup-sh7372.c | |
parent | 8e0e7aaef3c98c52e85f5640b73ffa82058abcfd (diff) |
ARM: shmobile: Use domain names when adding subdomains to power domains
Make the power management code under arch/arm/mach-shmobile/
use pm_genpd_add_subdomain_names() for adding subdomains to power
domains, which makes it possible to drop
rmobile_pm_add_subdomain() and will allow us to carry out those
operations for domain objects stored in tables in a straightforward
way.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh7372.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index 95f06c8fb855..a2e1eeafd1a1 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -1011,11 +1011,11 @@ void __init sh7372_add_standard_devices(void) | |||
1011 | rmobile_init_pm_domain(&sh7372_pd_a3sp); | 1011 | rmobile_init_pm_domain(&sh7372_pd_a3sp); |
1012 | rmobile_init_pm_domain(&sh7372_pd_a3sg); | 1012 | rmobile_init_pm_domain(&sh7372_pd_a3sg); |
1013 | 1013 | ||
1014 | rmobile_pm_add_subdomain(&sh7372_pd_a4lc, &sh7372_pd_a3rv); | 1014 | pm_genpd_add_subdomain_names("A4LC", "A3RV"); |
1015 | rmobile_pm_add_subdomain(&sh7372_pd_a4r, &sh7372_pd_a4lc); | 1015 | pm_genpd_add_subdomain_names("A4R", "A4LC"); |
1016 | 1016 | ||
1017 | rmobile_pm_add_subdomain(&sh7372_pd_a4s, &sh7372_pd_a3sg); | 1017 | pm_genpd_add_subdomain_names("A4S", "A3SG"); |
1018 | rmobile_pm_add_subdomain(&sh7372_pd_a4s, &sh7372_pd_a3sp); | 1018 | pm_genpd_add_subdomain_names("A4S", "A3SP"); |
1019 | 1019 | ||
1020 | platform_add_devices(sh7372_early_devices, | 1020 | platform_add_devices(sh7372_early_devices, |
1021 | ARRAY_SIZE(sh7372_early_devices)); | 1021 | ARRAY_SIZE(sh7372_early_devices)); |