From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Peng Fan <peng.fan@linux.dev>
Cc: Andi Shyti <andi.shyti@kernel.org>, Lee Jones <lee@kernel.org>,
Support Opensource <support.opensource@diasemi.com>,
Charles Keepax <ckeepax@opensource.cirrus.com>,
Richard Fitzgerald <rf@opensource.cirrus.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Andreas Kemnade <andreas@kemnade.info>,
Kevin Hilman <khilman@baylibre.com>,
Roger Quadros <rogerq@kernel.org>,
Tony Lindgren <tony@atomide.com>,
Matti Vaittinen <mazziesaccount@gmail.com>,
linux-i2c@vger.kernel.org, mfd@lists.linux.dev,
patches@opensource.cirrus.com, linux-kernel@vger.kernel.org,
linux-omap@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 1/2] i2c: add subsys_i2c_driver() macro
Date: Tue, 1 Dec 2026 23:50:27 +0100 [thread overview]
Message-ID: <aw9PM_y9LYe8hcEI@shikoro> (raw)
In-Reply-To: <20261201-add-i2c-subsys-mfd-v1-1-e7b1db408abf@nxp.com>
On Tue, Dec 01, 2026 at 05:45:51PM +0800, Peng Fan wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add subsys_i2c_driver() and subsys_i2c_driver_probe() macros so that
> I2C drivers registered at the subsys_initcall() level can avoid the
> open-coded init/exit boilerplate.
>
> subsys_i2c_driver() replaces subsys_initcall() plus module_exit() for
> drivers that need an unregister path. subsys_i2c_driver_probe() replaces
> subsys_initcall() for drivers without an exit callback.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Applied to my for-andi branch, thanks!
next prev parent reply other threads:[~2026-12-01 22:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 9:45 [PATCH 0/2] Add subsys_i2c_driver() helpers and convert MFD I2C drivers Peng Fan
2026-12-01 9:45 ` [PATCH 1/2] i2c: add subsys_i2c_driver() macro Peng Fan
2026-12-01 22:50 ` Wolfram Sang [this message]
2026-12-02 6:50 ` Peng Fan
2026-12-02 7:56 ` Wolfram Sang
2026-12-01 9:45 ` [PATCH 2/2] mfd: Convert to subsys_i2c_driver() Peng Fan
2026-12-01 22:49 ` [PATCH 0/2] Add subsys_i2c_driver() helpers and convert MFD I2C drivers Wolfram Sang
2026-12-02 9:56 ` Peng Fan
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=aw9PM_y9LYe8hcEI@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=aaro.koskinen@iki.fi \
--cc=andi.shyti@kernel.org \
--cc=andreas@kemnade.info \
--cc=ckeepax@opensource.cirrus.com \
--cc=cw00.choi@samsung.com \
--cc=khilman@baylibre.com \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mazziesaccount@gmail.com \
--cc=mfd@lists.linux.dev \
--cc=patches@opensource.cirrus.com \
--cc=peng.fan@linux.dev \
--cc=peng.fan@nxp.com \
--cc=rf@opensource.cirrus.com \
--cc=rogerq@kernel.org \
--cc=support.opensource@diasemi.com \
--cc=tony@atomide.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 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.