[PATCH 0/7] clk: Make clk_free return void
Sean Anderson
seanga2 at gmail.com
Sat Jan 15 23:24:57 CET 2022
clk_free cleans up resources allocated by clk_request et. al. It returns an
error code, but it really shouldn't. Much like regular free(), there is
typically no way to handle an error, and errors from clk_free shouldn't prevent
progress in the rest of the program. Make clk_free (and rfree) return void.
Sean Anderson (7):
clk: Make rfree return void
dma: bcm6348: Don't check clk_free
net: bcm63xx: Don't check clk_free
phy: bcm63xx: Don't check clk_free
spi: bcm63xx: Don't check clk_free
spi: dw: Don't check clk_free
clk: Make clk_free return void
drivers/clk/clk-uclass.c | 15 ++++++---------
drivers/clk/clk_sandbox.c | 6 +++---
drivers/clk/clk_sandbox_test.c | 9 +++------
drivers/dma/bcm6348-iudma.c | 6 +-----
drivers/net/bcm6348-eth.c | 6 +-----
drivers/net/bcm6368-eth.c | 6 +-----
drivers/phy/bcm6318-usbh-phy.c | 4 +---
drivers/phy/bcm6348-usbh-phy.c | 4 +---
drivers/phy/bcm6368-usbh-phy.c | 8 ++------
drivers/spi/bcm63xx_hsspi.c | 8 ++------
drivers/spi/bcm63xx_spi.c | 4 +---
drivers/spi/designware_spi.c | 2 +-
include/clk-uclass.h | 8 +++-----
include/clk.h | 8 ++++----
14 files changed, 30 insertions(+), 64 deletions(-)
--
2.34.1
More information about the U-Boot
mailing list