ARM: shmobile: r8a7740: Use rmobile_add_devices_to_domains()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2014 13:26:20 +0000 (15:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 9 Sep 2014 02:16:01 +0000 (11:16 +0900)
commitc839f93bf8468f4380056d0638e3cba0488bb190
tree34f47f947899e4fc6654649c63b20453dc5d4d23
parent9eda01b2f665d8bf29f6ac93e3db403290e0f3cf
ARM: shmobile: r8a7740: Use rmobile_add_devices_to_domains()

Use a table and the rmobile_add_devices_to_domains() helper function to
add all platform devices to their power domains at once, which is more
size-efficient than calling rmobile_add_device_to_domain() explicitly
for all devices individually.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7740.c