clk: st: clk-flexgen: Detect critical clocks
authorLee Jones <lee.jones@linaro.org>
Tue, 7 Jun 2016 11:19:25 +0000 (12:19 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 30 Jun 2016 19:17:06 +0000 (12:17 -0700)
commitfa6415affe2020606799fd4e9e89f37a01fb2ae9
treead14cb3fda600e882729c41a2460f7ae57eba040
parent1a695a905c18548062509178b98bc91e67510864
clk: st: clk-flexgen: Detect critical clocks

Utilise the new Critical Clock infrastructure to mark clocks which
much not be disabled as CRITICAL.

While we're at it, reduce the coverage of the flex_flags variable,
since it's only really used in a single for() loop.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/st/clk-flexgen.c