From e7bfda2c243e66a75ff966ba04c28b1590b5d24c Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 8 Feb 2020 20:33:30 +0100 Subject: brcm63xx: rename target to bcm63xx This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Signed-off-by: Adrian Schmutzler --- ...3xx_enet-drop-unneeded-NULL-phy_clk-check.patch | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-12-bcm63xx_enet-drop-unneeded-NULL-phy_clk-check.patch (limited to 'target/linux/brcm63xx/patches-4.14/001-4.15-12-bcm63xx_enet-drop-unneeded-NULL-phy_clk-check.patch') diff --git a/target/linux/brcm63xx/patches-4.14/001-4.15-12-bcm63xx_enet-drop-unneeded-NULL-phy_clk-check.patch b/target/linux/brcm63xx/patches-4.14/001-4.15-12-bcm63xx_enet-drop-unneeded-NULL-phy_clk-check.patch deleted file mode 100644 index 34fdd5c41e..0000000000 --- a/target/linux/brcm63xx/patches-4.14/001-4.15-12-bcm63xx_enet-drop-unneeded-NULL-phy_clk-check.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 555baec974ede81e616ca88ac6d3fca09239368f Mon Sep 17 00:00:00 2001 -From: Jonas Gorski -Date: Tue, 18 Jul 2017 13:18:01 +0200 -Subject: [PATCH 5/6] bcm63xx_enet: drop unneeded NULL phy_clk check - -clk_disable and clk_unprepare are NULL-safe, so need to duplicate the -NULL check of the functions. - -Signed-off-by: Jonas Gorski ---- - drivers/net/ethernet/broadcom/bcm63xx_enet.c | 7 ++----- - 1 file changed, 2 insertions(+), 5 deletions(-) - ---- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c -+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c -@@ -1905,8 +1905,7 @@ out_free_mdio: - out_uninit_hw: - /* turn off mdc clock */ - enet_writel(priv, 0, ENET_MIISC_REG); -- if (priv->phy_clk) -- clk_disable_unprepare(priv->phy_clk); -+ clk_disable_unprepare(priv->phy_clk); - - out_disable_clk_mac: - clk_disable_unprepare(priv->mac_clk); -@@ -1945,9 +1944,7 @@ static int bcm_enet_remove(struct platfo - } - - /* disable hw block clocks */ -- if (priv->phy_clk) -- clk_disable_unprepare(priv->phy_clk); -- -+ clk_disable_unprepare(priv->phy_clk); - clk_disable_unprepare(priv->mac_clk); - - free_netdev(dev); -- cgit v1.2.3