ARM: shmobile: armadillo800eva legacy: Use rmobile_add_devices_to_domains()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2014 13:26:21 +0000 (15:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 9 Sep 2014 02:16:08 +0000 (11:16 +0900)
commit834720dbf03819a8b2d0ba5fbe01d008267f9da6
tree642f371c3f180192de1cec76c2c54a48e1794a40
parent753490991fd5036fa4f31de7bc5dd7131ed44cc2
ARM: shmobile: armadillo800eva legacy: 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/board-armadillo800eva.c