aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/bcm6348-usbh-phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/bcm6348-usbh-phy.c')
-rw-r--r--drivers/phy/bcm6348-usbh-phy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/phy/bcm6348-usbh-phy.c b/drivers/phy/bcm6348-usbh-phy.c
index 1b6b5ad177e..ce6be3d7dab 100644
--- a/drivers/phy/bcm6348-usbh-phy.c
+++ b/drivers/phy/bcm6348-usbh-phy.c
@@ -62,9 +62,7 @@ static int bcm6348_usbh_probe(struct udevice *dev)
if (ret < 0)
return ret;
- ret = clk_free(&clk);
- if (ret < 0)
- return ret;
+ clk_free(&clk);
/* perform reset */
ret = reset_get_by_index(dev, 0, &rst_ctl);