From: Bjorn Helgaas <helgaas@kernel.org>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Sergio Paracuellos <sergio.paracuellos@gmail.com>,
linux-pci@vger.kernel.org, vigneshr@ti.com, s-vadapalli@ti.com,
lpieralisi@kernel.org, kw@linux.com,
manivannan.sadhasivam@linaro.org, robh@kernel.org,
bhelgaas@google.com, jingoohan1@gmail.com, krzk@kernel.org,
alim.akhtar@samsung.com, shawn.guo@linaro.org,
songxiaowei@hisilicon.com, marek.vasut+renesas@gmail.com,
yoshihiro.shimoda.uh@renesas.com, thierry.reding@gmail.com,
jonathanh@nvidia.com, thomas.petazzoni@bootlin.com,
pali@kernel.org, florian.fainelli@broadcom.com,
angelogioacchino.delregno@collabora.com, ryder.lee@mediatek.com,
heiko@sntech.de, kevin.xie@starfivetech.com, kishon@kernel.org,
dlemoal@kernel.org, shawn.lin@rock-chips.com,
linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org,
linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI: controller: Switch back to struct platform_driver::remove()
Date: Thu, 3 Oct 2024 16:52:17 -0500 [thread overview]
Message-ID: <20241003215217.GA326383@bhelgaas> (raw)
In-Reply-To: <tdxrmmqyzcufupnwkdbg7lwgadizm7v3lxjirykijbml7x54ze@upbdzycdsilm>
On Thu, Oct 03, 2024 at 12:17:08PM +0200, Uwe Kleine-König wrote:
> Hello,
>
> I found this patch in next as 712359cb5e9d9553c1383fc5005593aa1988efc4.
>
> While rebasing my patches with the same purpose I found that this patch
> handled the indention differently than I did for two files:
Updated 712359cb5e9d ("PCI: controller: Switch back to struct
platform_driver::remove()") to adopt your indentation changes and also
convert drivers/pci/controller/pcie-xilinx-nwl.c, thank you very much
for noticing this!
> On Mon, Sep 23, 2024 at 08:57:06AM +0200, Sergio Paracuellos wrote:
> > diff --git a/drivers/pci/controller/pcie-altera.c b/drivers/pci/controller/pcie-altera.c
> > index ef73baefaeb9..b921bbb4de80 100644
> > --- a/drivers/pci/controller/pcie-altera.c
> > +++ b/drivers/pci/controller/pcie-altera.c
> > @@ -817,7 +817,7 @@ static void altera_pcie_remove(struct platform_device *pdev)
> >
> > static struct platform_driver altera_pcie_driver = {
> > .probe = altera_pcie_probe,
> > - .remove_new = altera_pcie_remove,
> > + .remove = altera_pcie_remove,
> > .driver = {
> > .name = "altera-pcie",
> > .of_match_table = altera_pcie_of_match,
>
> here indention is inconsistent already before, I replaced the tabs after
> ".probe" by a single space (and after .remove, too).
>
> > [...]
> > diff --git a/drivers/pci/controller/pcie-hisi-error.c b/drivers/pci/controller/pcie-hisi-error.c
> > index ad9d5ffcd9e3..cb5fcfe032d1 100644
> > --- a/drivers/pci/controller/pcie-hisi-error.c
> > +++ b/drivers/pci/controller/pcie-hisi-error.c
> > @@ -317,7 +317,7 @@ static struct platform_driver hisi_pcie_error_handler_driver = {
> > .acpi_match_table = hisi_pcie_acpi_match,
> > },
> > .probe = hisi_pcie_error_handler_probe,
> > - .remove_new = hisi_pcie_error_handler_remove,
> > + .remove = hisi_pcie_error_handler_remove,
> > };
> > module_platform_driver(hisi_pcie_error_handler_driver);
> >
>
> Here I added another tab after ".remove".
>
> > [...]
>
> Also the patch missed to adapt drivers/pci/controller/pcie-xilinx-nwl.c.
>
> Best regards
> Uwe
next prev parent reply other threads:[~2024-10-03 21:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 6:57 [PATCH] PCI: controller: Switch back to struct platform_driver::remove() Sergio Paracuellos
2024-09-26 21:21 ` Bjorn Helgaas
2024-10-03 10:17 ` Uwe Kleine-König
2024-10-03 21:52 ` Bjorn Helgaas [this message]
2024-10-04 4:11 ` Sergio Paracuellos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241003215217.GA326383@bhelgaas \
--to=helgaas@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bhelgaas@google.com \
--cc=dlemoal@kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=heiko@sntech.de \
--cc=jingoohan1@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=kevin.xie@starfivetech.com \
--cc=kishon@kernel.org \
--cc=krzk@kernel.org \
--cc=kw@linux.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=marek.vasut+renesas@gmail.com \
--cc=pali@kernel.org \
--cc=robh@kernel.org \
--cc=ryder.lee@mediatek.com \
--cc=s-vadapalli@ti.com \
--cc=sergio.paracuellos@gmail.com \
--cc=shawn.guo@linaro.org \
--cc=shawn.lin@rock-chips.com \
--cc=songxiaowei@hisilicon.com \
--cc=thierry.reding@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=vigneshr@ti.com \
--cc=yoshihiro.shimoda.uh@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).