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)
commit43d2479687c93ed9b93774ef9b46b37de5b3efcc
tree7610a1160b401346c2a4b6faf7f9b8ce8ac0334d
parent550b562a153f84282c60fc3cb0d98f4e5609f0b4
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: 77d8f3068c63 ("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