Skip to contentSkip to conversation

phy: rockhip-usb: Remove CLK_IS_ROOT

PATCH In review Stephen Boyd 2 participants 2 messages Apr 20, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: rockhip-usb: Remove CLK_IS_ROOT

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it.

Cc Heiko Stuebner <[email protected]>
---
 drivers/phy/phy-rockchip-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-rockchip-usb.c +1 -1
index f62d899063a3..d60b149cff0f 100644
@@ -216,7 +216,7 @@ static int rockchip_usb_phy_init(struct rockchip_usb_phy_base *base,
 			init.parent_names = &clk_name;
 			init.num_parents = 1;
 		} else {
-			init.flags = CLK_IS_ROOT;
+			init.flags = 0;
 			init.parent_names = NULL;
 			init.num_parents = 0;
 		}
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am Dienstag, 19. April 2016, 18:17:26 schrieb Stephen Boyd:

Quoted 5 lines

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it.

Cc Heiko Stuebner <[email protected]>

obviously correct, but for what it's worth

Quoted 17 lines
---
 drivers/phy/phy-rockchip-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-rockchip-usb.c +1 -1
index f62d899063a3..d60b149cff0f 100644
@@ -216,7 +216,7 @@ static int rockchip_usb_phy_init(struct
 rockchip_usb_phy_base *base, init.parent_names = &clk_name;
 			init.num_parents = 1;
 		} else {
-			init.flags = CLK_IS_ROOT;
+			init.flags = 0;
 			init.parent_names = NULL;
 			init.num_parents = 0;
 		}