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
This commit is contained in:
Sean Anderson 2022-01-15 17:25:03 -05:00
parent dfdb227c3d
commit 3cbdd4cab9

View File

@ -732,7 +732,7 @@ static int dw_spi_remove(struct udevice *bus)
if (ret) if (ret)
return ret; return ret;
ret = clk_free(&priv->clk); clk_free(&priv->clk);
if (ret) if (ret)
return ret; return ret;
#endif #endif