[PATCH v2 1/3] PCI: rockchip: Simplify clock handling by using clk_bulk*() function
Anand Moon
linux.amoon at gmail.com
Fri Jun 21 21:29:38 PDT 2024
Hi Bjorn
On Sat, 22 Jun 2024 at 02:51, Bjorn Helgaas <helgaas at kernel.org> wrote:
>
> On Fri, Jun 21, 2024 at 12:14:20PM +0530, Anand Moon wrote:
> > Refactors the clock handling in the Rockchip PCIe driver,
> > introducing a more robust and efficient method for enabling and
> > disabling clocks using clk_bulk*() API. Using the clk_bulk APIs,
> > the clock handling for the core clocks becomes much simpler.
> >
> > Reported-by: kernel test robot <lkp at intel.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202406200818.CQ7DXNSZ-lkp@intel.com/
>
> Drop these two lines, as suggested in the test robot report:
>
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of the same patch/commit), kindly add following tags ...
>
> This is a new version of the same patch, so it doesn't need those
> tags.
>
Ok.
> The problem you're solving with this patch is that the clock handling
> is too complicated. The test robot didn't report *that* problem.
>
> Since you'll repost for this, also s/Refactors/Refactor/ in the commit
> log so this is in imperative mood:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=v6.9#n94
> https://chris.beams.io/posts/git-commit/
>
Ok, I will follow up on this process in the future.
> > drivers/pci/controller/pcie-rockchip.c | 64 ++++----------------------
> > drivers/pci/controller/pcie-rockchip.h | 15 ++++--
> > 2 files changed, 21 insertions(+), 58 deletions(-)
>
> Nice reduction in lines!
Thanks
-Anand
More information about the linux-arm-kernel
mailing list