]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: scu: remove the calling of device_is_bound
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 19 Nov 2020 11:43:02 +0000 (19:43 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Nov 2020 13:53:03 +0000 (21:53 +0800)
commit656fba59079054af0df90e5186650dd8184af628
tree7610a1160b401346c2a4b6faf7f9b8ce8ac0334d
parentbf0ab9a6672ac93b923cfa2a21af069634bcfc5a
clk: imx: scu: remove the calling of device_is_bound

The device_is_bound() is invisible to drivers when built as modules.
It's also not aimed to be used by drivers according to Greg K.H.
Let's remove it from clk-scu driver and find another way to do proper
driver loading sequence.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Stephen Boyd <sboyd@kernel.org>
Fixes: deddeb75f9f2 ("clk: imx: scu: add two cells binding support")
Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-scu.c