@@ -233,14 +233,6 @@ static void __init update_fec_mac_prop(enum mac_oui oui)
}
}
-static inline void enable_clk_enet_out(void)
-{
- struct clk *clk = clk_get_sys("enet_out", NULL);
-
- if (!IS_ERR(clk))
- clk_prepare_enable(clk);
-}
-
static void __init imx28_evk_init(void)
{
update_fec_mac_prop(OUI_FSL);
@@ -261,8 +253,6 @@ static int apx4devkit_phy_fixup(struct phy_device *phy)
static void __init apx4devkit_init(void)
{
- enable_clk_enet_out();
-
if (IS_BUILTIN(CONFIG_PHYLIB))
phy_register_fixup_for_uid(PHY_ID_KSZ8051, MICREL_PHY_ID_MASK,
apx4devkit_phy_fixup);
The ethernet@800f0000 node in the device tree for apx4devkit references the enet_out clk (inherited from imx28.dtsi). This should be good enough to drop its handling from the board file. As this removes the last user of enable_clk_enet_out remove this function, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> --- arch/arm/mach-mxs/mach-mxs.c | 10 ---------- 1 file changed, 10 deletions(-)