[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251013101727.129260-1-linux.amoon@gmail.com>
Date: Mon, 13 Oct 2025 15:47:22 +0530
From: Anand Moon <linux.amoon@...il.com>
To: Vignesh Raghavendra <vigneshr@...com>,
Siddharth Vadapalli <s-vadapalli@...com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kwilczynski@...nel.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Rob Herring <robh@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
linux-omap@...r.kernel.org (open list:PCI DRIVER FOR TI DRA7XX/J721E),
linux-pci@...r.kernel.org (open list:PCI DRIVER FOR TI DRA7XX/J721E),
linux-arm-kernel@...ts.infradead.org (moderated list:PCI DRIVER FOR TI DRA7XX/J721E),
linux-kernel@...r.kernel.org (open list)
Cc: Anand Moon <linux.amoon@...il.com>
Subject: [RFC v1 0/2] PCI: j721e: A couple of cleanups
Refactor the J721e probe function to use devres helpers for resource
management. This replaces manual clock handling with
devm_clk_get_optional_enabled() and assigns the reset GPIO directly
to the struct members, eliminating unnecessary local variables.
These patches have been compile-tested only, as I do not have access
to the hardware for runtime verification.
Thanks
-Anand
Anand Moon (2):
PCI: j721e: Use devm_clk_get_optional_enabled() to get the clock
PCI: j721e: Use inline reset GPIO assignment and drop local variable
drivers/pci/controller/cadence/pci-j721e.c | 25 +++++++---------------
1 file changed, 8 insertions(+), 17 deletions(-)
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
--
2.50.1
Powered by blists - more mailing lists