[PATCH v3 2/2] PCI: j721e: Use inline reset GPIO assignment and drop local variable

Markus Elfring Markus.Elfring at web.de
Mon Oct 27 06:43:20 PDT 2025


> The result of devm_gpiod_get_optional() is now assigned directly
> assigned to pcie->reset_gpio. This removes a superfluous local gpiod
> variable, improving code readability and compactness. The functionality
> remains unchanged, but the code is now more streamlined

Would a corresponding imperative wording become helpful for an improved change description?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.18-rc3#n94

Regards,
Markus



More information about the linux-arm-kernel mailing list