summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2022-01-15 17:25:03 -0500
committerSean Anderson <seanga2@gmail.com>2022-03-30 13:02:55 -0400
commit3cbdd4cab951b8bd3f2e76066e6911f9780c4eb1 (patch)
tree7cf45c0bd60e959b1ce92986e0e48bfd927bb69e
parentdfdb227c3d018983f37cc97fe003e231a81a46ea (diff)
downloadu-boot-3cbdd4cab951b8bd3f2e76066e6911f9780c4eb1.tar.gz
u-boot-3cbdd4cab951b8bd3f2e76066e6911f9780c4eb1.tar.bz2
u-boot-3cbdd4cab951b8bd3f2e76066e6911f9780c4eb1.zip
spi: dw: Don't check clk_free
This function always succeeds, so don't check its return value. Signed-off-by: Sean Anderson <seanga2@gmail.com> Link: https://lore.kernel.org/r/20220115222504.617013-7-seanga2@gmail.com
-rw-r--r--drivers/spi/designware_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/designware_spi.c b/drivers/spi/designware_spi.c
index 47bea0b376..1c7d0ca310 100644
--- a/drivers/spi/designware_spi.c
+++ b/drivers/spi/designware_spi.c
@@ -732,7 +732,7 @@ static int dw_spi_remove(struct udevice *bus)
if (ret)
return ret;
- ret = clk_free(&priv->clk);
+ clk_free(&priv->clk);
if (ret)
return ret;
#endif