ARM: shmobile: Use domain names when adding subdomains to power domains
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 6 Aug 2012 23:09:31 +0000 (01:09 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 3 Sep 2012 23:44:56 +0000 (01:44 +0200)
commit7fcb304792649e763e460c47abc4c53085bffaee
tree6957aa41304b185780296b09b0b0c931b6cebedb
parent8e0e7aaef3c98c52e85f5640b73ffa82058abcfd
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>
arch/arm/mach-shmobile/include/mach/pm-rmobile.h
arch/arm/mach-shmobile/pm-rmobile.c
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-sh7372.c