From: Krzysztof Kozlowski <krzk@kernel.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
Codrin Ciubotariu <codrin.ciubotariu@microchip.com>,
Andi Shyti <andi.shyti@kernel.org>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>,
Bartosz Golaszewski <brgl@kernel.org>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Oleksij Rempel <o.rempel@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>, Vignesh R <vigneshr@ti.com>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Janusz Krzysztofik <jmkrzyszt@gmail.com>,
Tony Lindgren <tony@atomide.com>,
Andreas Kemnade <andreas@kemnade.info>,
Kevin Hilman <khilman@baylibre.com>,
Roger Quadros <rogerq@kernel.org>,
Vladimir Zapolskiy <vz@mleia.com>,
Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>,
Peter Griffin <peter.griffin@linaro.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Linus Walleij <linusw@kernel.org>,
linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, imx@lists.linux.dev,
linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH] i2c: Convert to subsys_platform_driver()
Date: Thu, 5 Nov 2026 09:16:15 +0100 [thread overview]
Message-ID: <c6664dd8-871e-4b38-8017-d4c1a02fd36e@kernel.org> (raw)
In-Reply-To: <auuXnndiQOkEaOsj@ashevche-desk.local>
On 04/11/2026 21:37, Andy Shevchenko wrote:
> On Wed, Nov 04, 2026 at 06:38:40PM +0100, Krzysztof Kozlowski wrote:
>> On 04/11/2026 12:33, Peng Fan (OSS) wrote:
>>>
>>> Replace the open-coded subsys_initcall()/module_exit() platform driver
>>> registration with subsys_platform_driver().
>>>
>>> No functional change.
>
> ...
>
>>> -subsys_initcall(i2c_adap_pxa_init);
>>> -module_exit(i2c_adap_pxa_exit);
>>> +subsys_platform_driver(i2c_pxa_driver);
>>> diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
>>> index 15e14a6fe6dc..dd1f6f854a32 100644
>>> --- a/drivers/i2c/busses/i2c-s3c2410.c
>>> +++ b/drivers/i2c/busses/i2c-s3c2410.c
>>> @@ -1188,18 +1188,7 @@ static struct platform_driver s3c24xx_i2c_driver = {
>>> .of_match_table = of_match_ptr(s3c24xx_i2c_match),
>>> },
>>> };
>>> -
>>> -static int __init i2c_adap_s3c_init(void)
>>> -{
>>> - return platform_driver_register(&s3c24xx_i2c_driver);
>>> -}
>>> -subsys_initcall(i2c_adap_s3c_init);
>>> -
>>> -static void __exit i2c_adap_s3c_exit(void)
>>> -{
>>> - platform_driver_unregister(&s3c24xx_i2c_driver);
>>> -}
>>> -module_exit(i2c_adap_s3c_exit);
>>> +subsys_platform_driver(s3c24xx_i2c_driver);
>>
>> Apparently reviewing only a few lines out of 300 is still reviewing:
>>
>> https://lore.kernel.org/all/9e39502a-dd17-4fa2-98a3-9019523cb5e8@kernel.org/
>>
>> Therefore:
>>
>> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
>
> In the similar way
>
> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> # s3c24xx
>
> (Note, I specifically put double space in front to make this as an example and not overwrite your tags)
>
> And to others, the problem with partial reviews are lying on the side of the
> sender as it's not reviewer's fault that unrelated things are going in a bundle
> and not in the proper per-driver series (where each of the driver may have
> distinct maintainer).
Re-iterating my earlier opinion, the reviewer is at fault as well
because either should use Ack, because person did not review THE patch,
or at least path-limiting comment like you pointed above.
I'll send v2 of my patch for submitting patches mentioning this syntax.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-11-05 8:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 11:33 Peng Fan (OSS)
2026-11-04 11:45 ` Vladimir Zapolskiy
2026-11-04 11:54 ` Wolfram Sang
2026-11-04 14:18 ` Bartosz Golaszewski
2026-11-04 17:38 ` Krzysztof Kozlowski
2026-11-04 20:37 ` Andy Shevchenko
2026-11-05 8:16 ` Krzysztof Kozlowski [this message]
2026-11-05 8:17 ` Wolfram Sang
2026-11-05 8:20 ` Krzysztof Kozlowski
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=c6664dd8-871e-4b38-8017-d4c1a02fd36e@kernel.org \
--to=krzk@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=aaro.koskinen@iki.fi \
--cc=alexandre.belloni@bootlin.com \
--cc=alim.akhtar@samsung.com \
--cc=andi.shyti@kernel.org \
--cc=andreas@kemnade.info \
--cc=andriy.shevchenko@linux.intel.com \
--cc=brgl@kernel.org \
--cc=claudiu.beznea@tuxon.dev \
--cc=codrin.ciubotariu@microchip.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=jmkrzyszt@gmail.com \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=nicolas.ferre@microchip.com \
--cc=o.rempel@pengutronix.de \
--cc=peng.fan@oss.nxp.com \
--cc=peter.griffin@linaro.org \
--cc=piotr.wojtaszczyk@timesys.com \
--cc=rogerq@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=tony@atomide.com \
--cc=vigneshr@ti.com \
--cc=vz@mleia.com \
--cc=wsa+renesas@sang-engineering.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
all inboxes | Powered by JetHome®