diff options
author | Sean Anderson | 2022-01-15 17:25:03 -0500 |
---|---|---|
committer | Sean Anderson | 2022-03-30 13:02:55 -0400 |
commit | 3cbdd4cab951b8bd3f2e76066e6911f9780c4eb1 (patch) | |
tree | 7cf45c0bd60e959b1ce92986e0e48bfd927bb69e /drivers | |
parent | dfdb227c3d018983f37cc97fe003e231a81a46ea (diff) |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/designware_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/designware_spi.c b/drivers/spi/designware_spi.c index 47bea0b376a..1c7d0ca310b 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 |