]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: Move sh7372's PM domain objects to a table
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 6 Aug 2012 23:12:56 +0000 (01:12 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 17 Aug 2012 17:40:06 +0000 (19:40 +0200)
commit6913c0bb02508128d6df850f998f0bc261918de0
tree7226164fa0cd1f4571232b6a2c0775d824293c73
parente72382017af4092b4df3563b2fb3559604e6aec4
ARM: shmobile: Move sh7372's PM domain objects to a table

Instead of giving a name to every sh7372'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 subdomains to the PM
domains and pm_genpd_poweron_name() for turning on the A4S domain
when preparing for system suspend.

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