ARM: shmobile: Move r8a7740's PM domain objects to a table
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 6 Aug 2012 23:13:37 +0000 (01:13 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 3 Sep 2012 23:44:57 +0000 (01:44 +0200)
commit7b5674075b7c7ddb0c4da18b1f104e1db774ce82
tree8bbb5dfb3367c92599c48691d2599c8f3345a5f3
parente7e59a4b55706b0bbaba1cd8af46495553b6e876
ARM: shmobile: Move r8a7740's PM domain objects to a table

Instead of giving a name to every r8a7740's PM domain object, put
them all into a table and use rmobile_init_domains(), introduced by a
previous patch, for initializing them all altogether.  Also, use
pm_genpd_add_subdomain_names() for adding A3SP as a subdomain of A4S.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
arch/arm/mach-shmobile/include/mach/r8a7740.h
arch/arm/mach-shmobile/pm-r8a7740.c
arch/arm/mach-shmobile/setup-r8a7740.c