From: Herve Codina <herve.codina@bootlin.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
"Olof Johansson" <olof@lixom.net>,
"Joel Stanley" <joel@jms.id.au>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Christophe Leroy" <christophe.leroy@csgroup.eu>,
"Qiang Zhao" <qiang.zhao@nxp.com>,
"Hitomi Hasegawa" <hasegawa-hitomi@fujitsu.com>,
"Huisong Li" <lihuisong@huawei.com>,
"Linus Walleij" <linusw@kernel.org>,
"Imre Kaloz" <kaloz@openwrt.org>,
"Karol Gugala" <kgugala@antmicro.com>,
"Mateusz Holenko" <mholenko@antmicro.com>,
"Gabriel Somlo" <gsomlo@gmail.com>,
"Yinbo Zhu" <zhuyinbo@loongson.cn>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
"Daire McNamara" <daire.mcnamara@microchip.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Jonathan Hunter" <jonathanh@nvidia.com>,
"Nishanth Menon" <nm@ti.com>,
"Santosh Shilimkar" <ssantosh@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Duje Mihanović" <duje.mihanovic@skole.hr>,
"Mark Brown" <broonie@kernel.org>,
"David Wu" <david.wu@rock-chips.com>,
"Jianqun Xu" <jay.xu@rock-chips.com>,
"Jay Buddhabhatti" <jay.buddhabhatti@amd.com>,
"Radhey Shyam Pandey" <radhey.shyam.pandey@amd.com>,
"Izhar Ameer Shaikh" <izhar.ameer.shaikh@amd.com>,
"Naman Trivedi Manojbhai" <naman.trivedimanojbhai@amd.com>,
linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev,
linux-mediatek@lists.infradead.org,
linux-riscv@lists.infradead.org, linux-arm-msm@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH] soc: Switch back to struct platform_driver::remove()
Date: Tue, 29 Oct 2024 10:03:47 +0100 [thread overview]
Message-ID: <20241029100347.542b56d4@bootlin.com> (raw)
In-Reply-To: <20241029074859.509587-2-u.kleine-koenig@baylibre.com>
Hi Uwe,
On Tue, 29 Oct 2024 08:48:58 +0100
Uwe Kleine-König <u.kleine-koenig@baylibre.com> wrote:
> After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
> return void") .remove() is (again) the right callback to implement for
> platform drivers.
>
> Convert all platform drivers below drivers/soc to use .remove(), with
> the eventual goal to drop struct platform_driver::remove_new(). As
> .remove() and .remove_new() have the same prototypes, conversion is done
> by just changing the structure member name in the driver initializer.
>
> On the way do a few whitespace changes to make indention consistent.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> ---
...
> drivers/soc/fsl/qe/qmc.c | 2 +-
> drivers/soc/fsl/qe/tsa.c | 2 +-
Acked-by: Herve Codina <herve.codina@bootlin.com> # for fsl/qe/{qmc,tsa}.c
Best regards,
Hervé
WARNING: multiple messages have this Message-ID (diff)
From: Herve Codina <herve.codina@bootlin.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
"Olof Johansson" <olof@lixom.net>,
"Joel Stanley" <joel@jms.id.au>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Christophe Leroy" <christophe.leroy@csgroup.eu>,
"Qiang Zhao" <qiang.zhao@nxp.com>,
"Hitomi Hasegawa" <hasegawa-hitomi@fujitsu.com>,
"Huisong Li" <lihuisong@huawei.com>,
"Linus Walleij" <linusw@kernel.org>,
"Imre Kaloz" <kaloz@openwrt.org>,
"Karol Gugala" <kgugala@antmicro.com>,
"Mateusz Holenko" <mholenko@antmicro.com>,
"Gabriel Somlo" <gsomlo@gmail.com>,
"Yinbo Zhu" <zhuyinbo@loongson.cn>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
"Daire McNamara" <daire.mcnamara@microchip.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Jonathan Hunter" <jonathanh@nvidia.com>,
"Nishanth Menon" <nm@ti.com>,
"Santosh Shilimkar" <ssantosh@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Duje Mihanović" <duje.mihanovic@skole.hr>,
"Mark Brown" <broonie@kernel.org>,
"David Wu" <david.wu@rock-chips.com>,
"Jianqun Xu" <jay.xu@rock-chips.com>,
"Jay Buddhabhatti" <jay.buddhabhatti@amd.com>,
"Radhey Shyam Pandey" <radhey.shyam.pandey@amd.com>,
"Izhar Ameer Shaikh" <izhar.ameer.shaikh@amd.com>,
"Naman Trivedi Manojbhai" <naman.trivedimanojbhai@amd.com>,
linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev,
linux-mediatek@lists.infradead.org,
linux-riscv@lists.infradead.org, linux-arm-msm@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH] soc: Switch back to struct platform_driver::remove()
Date: Tue, 29 Oct 2024 10:03:47 +0100 [thread overview]
Message-ID: <20241029100347.542b56d4@bootlin.com> (raw)
In-Reply-To: <20241029074859.509587-2-u.kleine-koenig@baylibre.com>
Hi Uwe,
On Tue, 29 Oct 2024 08:48:58 +0100
Uwe Kleine-König <u.kleine-koenig@baylibre.com> wrote:
> After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
> return void") .remove() is (again) the right callback to implement for
> platform drivers.
>
> Convert all platform drivers below drivers/soc to use .remove(), with
> the eventual goal to drop struct platform_driver::remove_new(). As
> .remove() and .remove_new() have the same prototypes, conversion is done
> by just changing the structure member name in the driver initializer.
>
> On the way do a few whitespace changes to make indention consistent.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> ---
...
> drivers/soc/fsl/qe/qmc.c | 2 +-
> drivers/soc/fsl/qe/tsa.c | 2 +-
Acked-by: Herve Codina <herve.codina@bootlin.com> # for fsl/qe/{qmc,tsa}.c
Best regards,
Hervé
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: Herve Codina <herve.codina@bootlin.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
"Olof Johansson" <olof@lixom.net>,
"Joel Stanley" <joel@jms.id.au>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Christophe Leroy" <christophe.leroy@csgroup.eu>,
"Qiang Zhao" <qiang.zhao@nxp.com>,
"Hitomi Hasegawa" <hasegawa-hitomi@fujitsu.com>,
"Huisong Li" <lihuisong@huawei.com>,
"Linus Walleij" <linusw@kernel.org>,
"Imre Kaloz" <kaloz@openwrt.org>,
"Karol Gugala" <kgugala@antmicro.com>,
"Mateusz Holenko" <mholenko@antmicro.com>,
"Gabriel Somlo" <gsomlo@gmail.com>,
"Yinbo Zhu" <zhuyinbo@loongson.cn>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
"Daire McNamara" <daire.mcnamara@microchip.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Jonathan Hunter" <jonathanh@nvidia.com>,
"Nishanth Menon" <nm@ti.com>,
"Santosh Shilimkar" <ssantosh@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Duje Mihanović" <duje.mihanovic@skole.hr>,
"Mark Brown" <broonie@kernel.org>,
"David Wu" <david.wu@rock-chips.com>,
"Jianqun Xu" <jay.xu@rock-chips.com>,
"Jay Buddhabhatti" <jay.buddhabhatti@amd.com>,
"Radhey Shyam Pandey" <radhey.shyam.pandey@amd.com>,
"Izhar Ameer Shaikh" <izhar.ameer.shaikh@amd.com>,
"Naman Trivedi Manojbhai" <naman.trivedimanojbhai@amd.com>,
linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev,
linux-mediatek@lists.infradead.org,
linux-riscv@lists.infradead.org, linux-arm-msm@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH] soc: Switch back to struct platform_driver::remove()
Date: Tue, 29 Oct 2024 10:03:47 +0100 [thread overview]
Message-ID: <20241029100347.542b56d4@bootlin.com> (raw)
In-Reply-To: <20241029074859.509587-2-u.kleine-koenig@baylibre.com>
Hi Uwe,
On Tue, 29 Oct 2024 08:48:58 +0100
Uwe Kleine-König <u.kleine-koenig@baylibre.com> wrote:
> After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
> return void") .remove() is (again) the right callback to implement for
> platform drivers.
>
> Convert all platform drivers below drivers/soc to use .remove(), with
> the eventual goal to drop struct platform_driver::remove_new(). As
> .remove() and .remove_new() have the same prototypes, conversion is done
> by just changing the structure member name in the driver initializer.
>
> On the way do a few whitespace changes to make indention consistent.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> ---
...
> drivers/soc/fsl/qe/qmc.c | 2 +-
> drivers/soc/fsl/qe/tsa.c | 2 +-
Acked-by: Herve Codina <herve.codina@bootlin.com> # for fsl/qe/{qmc,tsa}.c
Best regards,
Hervé
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2024-10-29 9:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 7:48 [PATCH] soc: Switch back to struct platform_driver::remove() Uwe Kleine-König
2024-10-29 7:48 ` Uwe Kleine-König
2024-10-29 7:48 ` Uwe Kleine-König
2024-10-29 8:01 ` Heiko Stuebner
2024-10-29 8:01 ` Heiko Stuebner
2024-10-29 8:01 ` Heiko Stuebner
2024-10-29 9:03 ` Herve Codina [this message]
2024-10-29 9:03 ` Herve Codina
2024-10-29 9:03 ` Herve Codina
2024-10-29 15:24 ` Bjorn Andersson
2024-10-29 15:24 ` Bjorn Andersson
2024-10-29 15:24 ` Bjorn Andersson
2024-10-29 15:34 ` Gabriel L. Somlo
2024-10-29 15:34 ` Gabriel L. Somlo
2024-10-29 15:34 ` Gabriel L. Somlo
2024-10-30 0:23 ` Andrew Jeffery
2024-10-30 0:23 ` Andrew Jeffery
2024-10-30 0:23 ` Andrew Jeffery
2024-11-12 15:23 ` patchwork-bot+linux-soc
2024-12-11 22:33 ` patchwork-bot+linux-riscv
2024-12-11 22:33 ` patchwork-bot+linux-riscv
2024-12-11 22:33 ` patchwork-bot+linux-riscv
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=20241029100347.542b56d4@bootlin.com \
--to=herve.codina@bootlin.com \
--cc=alim.akhtar@samsung.com \
--cc=andersson@kernel.org \
--cc=andrew@codeconstruct.com.au \
--cc=andriy.shevchenko@linux.intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=christophe.leroy@csgroup.eu \
--cc=conor.dooley@microchip.com \
--cc=daire.mcnamara@microchip.com \
--cc=david.wu@rock-chips.com \
--cc=duje.mihanovic@skole.hr \
--cc=gsomlo@gmail.com \
--cc=hasegawa-hitomi@fujitsu.com \
--cc=heiko@sntech.de \
--cc=izhar.ameer.shaikh@amd.com \
--cc=jay.buddhabhatti@amd.com \
--cc=jay.xu@rock-chips.com \
--cc=joel@jms.id.au \
--cc=jonathanh@nvidia.com \
--cc=kaloz@openwrt.org \
--cc=kgugala@antmicro.com \
--cc=konradybcio@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lihuisong@huawei.com \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=loongarch@lists.linux.dev \
--cc=matthias.bgg@gmail.com \
--cc=mholenko@antmicro.com \
--cc=michal.simek@amd.com \
--cc=naman.trivedimanojbhai@amd.com \
--cc=nm@ti.com \
--cc=olof@lixom.net \
--cc=qiang.zhao@nxp.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=soc@lists.linux.dev \
--cc=ssantosh@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=zhuyinbo@loongson.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.