]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: j721e: Use 'pcie->reset_gpio' directly and drop the local variable
authorAnand Moon <linux.amoon@gmail.com>
Tue, 28 Oct 2025 15:42:24 +0000 (21:12 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2025 18:21:56 +0000 (12:21 -0600)
commit444a43bf3c029cc0a7c8d97611b3c126cddb5489
tree23fffed3b9ddb9a503a6da7a6eb8c1e1d2ea1921
parent6fad11c61d0dbf87601ab9e2e37cba7a9a427f7b
PCI: j721e: Use 'pcie->reset_gpio' directly and drop the local variable

Assign the result of devm_gpiod_get_optional() directly to
pcie->reset_gpio, thereby removing the local variable.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://patch.msgid.link/20251028154229.6774-3-linux.amoon@gmail.com
drivers/pci/controller/cadence/pci-j721e.c