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>
Fri, 5 Dec 2014 01:02:03 +0000 (10:02 +0900)
commit376527a4305630120b963b64b91d57e288f67165
tree12cf8669ac0c42cbfae1e32abc87037af297ea75
parent3257314a2f770ddbdfa6957b361545c9a4d6f0aa
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>
(cherry picked from commit 834720dbf03819a8b2d0ba5fbe01d008267f9da6)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-armadillo800eva.c