aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/bcm63xx_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/bcm63xx_spi.c')
-rw-r--r--drivers/spi/bcm63xx_spi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/bcm63xx_spi.c b/drivers/spi/bcm63xx_spi.c
index dd5e62b..0600d56 100644
--- a/drivers/spi/bcm63xx_spi.c
+++ b/drivers/spi/bcm63xx_spi.c
@@ -391,9 +391,7 @@ static int bcm63xx_spi_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);