[PATCH v6 04/13] PCI: brcmstb: Use common error handling code in brcm_pcie_probe()

Florian Fainelli florian.fainelli at broadcom.com
Fri Aug 16 08:50:19 PDT 2024


On 8/15/24 15:57, Jim Quinlan wrote:
> Refactor the error handling in the bottom half of the probe
> function for readability.  The invocation of clk_prepare_enable()
> is moved lower in the function and this simplifies a couple
> of return paths.  dev_err_probe() is also used when it is apt.
> 
> Signed-off-by: Jim Quinlan <james.quinlan at broadcom.com>

Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian




More information about the linux-arm-kernel mailing list