misc: imx8: scu: simplify code to make it extendable
authorPeng Fan <peng.fan@nxp.com>
Mon, 2 Sep 2019 10:20:17 +0000 (10:20 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 5 Nov 2019 09:27:18 +0000 (10:27 +0100)
commit816d093c1a6e3fa3d1b85aa2f9194c233a78f23e
treed0d10662ff703f1a7ca015626617b10218b7c6a9
parent2634ba574361392db80c0cb6be1455abfb124201
misc: imx8: scu: simplify code to make it extendable

clk and pinctrl will be get(probed) during each device probe,
we don't need to probe them in scu driver. Only need to bind the sub-nodes
(clk and iomuxc) of MU node with their drivers.

So drop the code to probe the clk/pinctrl, and this patch will make it
easy to add more subnodes.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/imx8/scu.c