[PATCH v1 2/3] PCI: j721e: Use devm_clk_get_optional_enabled() to get the clock
Dan Carpenter
dan.carpenter at linaro.org
Sat Oct 18 02:53:23 PDT 2025
On Tue, Oct 14, 2025 at 05:02:28PM +0530, Anand Moon wrote:
> @@ -630,7 +622,6 @@ static int j721e_pcie_probe(struct platform_device *pdev)
>
> ret = cdns_pcie_host_setup(rc);
> if (ret < 0) {
> - clk_disable_unprepare(pcie->refclk);
> goto err_pcie_setup;
> }
This will introduce a checkpatch warning with checkpatch.pl -f because
you need to delete the curly braces.
regards,
dan carpenter
More information about the linux-arm-kernel
mailing list