]> 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)
commite398538f374825500fadf4e953f02f052732adde
tree7610a1160b401346c2a4b6faf7f9b8ce8ac0334d
parentff3842ff93ec612bfa3f52f3ddeb60a49677ac4e
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: 35a4e193b16b ("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