clk: renesas: cpg-mssr: Migrate to CLK_IS_CRITICAL
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 16 Jan 2017 15:15:50 +0000 (16:15 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 23 Jan 2017 10:04:45 +0000 (11:04 +0100)
commit72f5df2c2bbb66d4a555cb51eb9f412abf1af77f
treedf7e7e608daa0bf1428b47fe728f3cfcf0e8ac3b
parente6bdf28eff475a026b922abe78ae710e7179bdf7
clk: renesas: cpg-mssr: Migrate to CLK_IS_CRITICAL

When the Renesas CPG/MSSR driver was introduced, it was anticipated that
critical clocks would be handled through a new CLK_ENABLE_HAND_OFF flag
soon.  However, CLK_ENABLE_HAND_OFF never made it upstream.

Instead, commit 32b9b10961860860 ("clk: Allow clocks to be marked as
CRITICAL") introduced CLK_IS_CRITICAL, a flag with slightly differing
semantics.  Still, it can be used to prevent e.g. the GIC module clock
from being turned off, until the GIC-400 driver has full support for
Runtime PM.

Hence migrate the Renesas CPG/MSSR driver from CLK_ENABLE_HAND_OFF to
CLK_IS_CRITICAL.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/renesas/renesas-cpg-mssr.c