]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 17 Aug 2012 17:40:06 +0000 (19:40 +0200)
commitfaff45fbd1d632ac6b06f828fe3543a283f5de2c
treebe24e349d8cbc5bff44b3d9e67130bf481af0952
parent6913c0bb02508128d6df850f998f0bc261918de0
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