clk: imx51-imx53: Annotate critical clocks as CLK_IS_CRITICAL
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 4 Jul 2018 13:49:23 +0000 (10:49 -0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Jul 2018 21:04:35 +0000 (14:04 -0700)
commited235d556945f46dbac84227f6f1467d397e39a3
tree52d764f3ce28d900857bb11fe89ccfa119bd5c3b
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
clk: imx51-imx53: Annotate critical clocks as CLK_IS_CRITICAL

Instead of explicitly enabling critical clocks via clk_prepare_enable(),
let's use the standard CLK_IS_CRITICAL flag instead, which makes the code
a bit shorter.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx51-imx53.c