clk: renesas: cpg-mssr: Use genpd of_node instead of local copy
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 May 2019 08:55:26 +0000 (10:55 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 4 Jun 2019 08:56:49 +0000 (10:56 +0200)
commitf243220e674c61ae6434209e25c25c12cada4e4e
tree2d68394a7c3460e9e21f487cd06fea52dae45dd9
parente7f30c257bd0187ebc6a1238bee5c8d87edd54e1
clk: renesas: cpg-mssr: Use genpd of_node instead of local copy

Since commit 6a0ae73d95956f7e ("PM / Domain: Add support to parse
domain's OPP table"), of_genpd_add_provider_simple() fills in
the dev.of_node field in the generic_pm_domain structure.

Hence cpg_mssr_is_pm_clk() can use that instead of its own copy in the
driver-private cpg_mssr_clk_domain structure.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/clk/renesas/renesas-cpg-mssr.c