ARM: shmobile: R-Mobile: Use generic_pm_domain.attach_dev() for pm_clk setup
commit4b9d62e02a0124d06fbbb9c4b01bd69f3c4dcd35
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 3 Dec 2014 13:41:42 +0000 (3 14:41 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 Jan 2015 00:33:19 +0000 (13 09:33 +0900)
tree04274aee83c20d7bcd01f9bfa15cec9a8ebc1414
parent39695882d3d642a73bca551e682426e4e3bcd158
ARM: shmobile: R-Mobile: Use generic_pm_domain.attach_dev() for pm_clk setup

Use the just introduced genpd attach/detach callbacks to register the
devices' module clocks, instead of doing it directly, to make it
DT-proof.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/pm-rmobile.c