From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Lee Jones <lee@kernel.org>
Cc: "Pawel Zalewski" <pzalewski@thegoodpenguin.co.uk>,
"Florian Fainelli" <florian.fainelli@broadcom.com>,
"Broadcom internal kernel review list"
<bcm-kernel-feedback-list@broadcom.com>,
mfd@lists.linux.dev, linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
linux-mediatek@lists.infradead.org,
"Benson Leung" <bleung@chromium.org>,
"Guenter Roeck" <groeck@chromium.org>,
chrome-platform@lists.linux.dev, "Xu Yilun" <yilun.xu@intel.com>,
"Tom Rix" <trix@redhat.com>,
"Michael Hennerich" <michael.hennerich@analog.com>,
"Chen-Yu Tsai" <wens@kernel.org>,
"Marek Vasut" <marek.vasut+renesas@gmail.com>,
"James Ogletree" <jogletre@opensource.cirrus.com>,
"Fred Treven" <fred.treven@cirrus.com>,
"Ben Bright" <ben.bright@cirrus.com>,
"Support Opensource" <support.opensource@diasemi.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Charles Keepax" <ckeepax@opensource.cirrus.com>,
"Richard Fitzgerald" <rf@opensource.cirrus.com>,
"Chanwoo Choi" <cw00.choi@samsung.com>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"André Draszik" <andre.draszik@linaro.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>,
"Samuel Kayode" <samkay014@gmail.com>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
patches@opensource.cirrus.com, linux-renesas-soc@vger.kernel.org,
linux-sound@vger.kernel.org, linux-omap@vger.kernel.org,
imx@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com,
"Linus Walleij" <linusw@kernel.org>,
"Thomas Richard" <thomas.richard@bootlin.com>,
linux@ew.tq-group.com,
"Nicolas Ferre" <nicolas.ferre@microchip.com>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
"David Rhodes" <david.rhodes@cirrus.com>,
"Peter Griffin" <peter.griffin@linaro.org>,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Tim Harvey" <tharvey@gateworks.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Sven Peter" <sven@kernel.org>, "Janne Grunau" <j@jannau.net>,
"Neal Gompa" <neal@gompa.dev>,
"Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>,
"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
"Saravanan Sekar" <sravanhome@gmail.com>,
"Frank Li" <Frank.Li@nxp.com>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"Fabio Estevam" <festevam@gmail.com>,
"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
"Matti Vaittinen" <mazziesaccount@gmail.com>,
"Orson Zhai" <orsonzhai@gmail.com>,
"Baolin Wang" <baolin.wang@linux.alibaba.com>,
"Chunyan Zhang" <zhang.lyra@gmail.com>,
"Fabrice Gasnier" <fabrice.gasnier@foss.st.com>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Samuel Holland" <samuel@sholland.org>,
"Liviu Dudau" <liviu.dudau@arm.com>,
"Sudeep Holla" <sudeep.holla@kernel.org>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"Magnus Damm" <magnus.damm@gmail.com>,
"Heiko Stuebner" <heiko@sntech.de>,
linux-samsung-soc@vger.kernel.org,
linux-amlogic@lists.infradead.org, asahi@lists.linux.dev,
linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev,
linux-rockchip@lists.infradead.org,
"Peter Tyser" <ptyser@xes-inc.com>
Subject: [PATCH v5 00/17] mfd: Use named initializers for arrays of *_device_data
Date: Mon, 23 Nov 2026 12:17:58 +0100 [thread overview]
Message-ID: <cover.1795431460.git.u.kleine-koenig@baylibre.com> (raw)
Hello Lee,
there were two conflicting patch series with a similar goal:
- v4 of my series:
https://lore.kernel.org/cover.1794347059.git.u.kleine-koenig@baylibre.com
- Pawel's "mfd: use designated initializers for acpi_device_id"
https://lore.kernel.org/all/20261104-acpi-mfd-v2-0-64b9dee3baaf@thegoodpenguin.co.uk/
Here comes the remainder of my series rebased to
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
I double checked no new arrays popped up needing adaption. Otherwise the
things said about v4 stay valid:
- The objective is adding an anonymous union to the various *_device_id
structures, see
https://lore.kernel.org/all/cover.1780048925.git.u.kleine-koenig@baylibre.com/
for an example.
- "mfd: bcm2835-pm: Drop unused header" got review feedback vor v2 by
Stanimir Varbanov[1] asking to drop that patch as he intends to
rework the driver in a conflicting way "soon". That didn't happen
though since July, so I consider that request expired
- I'm happy about every applied patch. There are a few files that are
touched by more than one patch. If you apply the series partially and
conflicts happen (due to changes in your tree in the mean time or due
to skipped patches that you didn't like) just reverting to HEAD for
conflict resolution for the conflicting files is safe.
- The "Unify style of ... arrays" are only cosmetic. If you consider
these mostly churn, just drop them.
Best regards
Uwe
[1] https://lore.kernel.org/b3d228fd-6138-4195-b63c-65b28691e18b@suse.de
Uwe Kleine-König (The Capable Hub) (17):
mfd: bcm2835-pm: Remove member of struct bcm2835_pm that is only used
locally
mfd: bcm2835-pm: Drop unused header
mfd: kempld: Simplify device abstraction
mfd: lp87565: Explicitly set driver data for the generic dt compatible
mfd: mt6360: Drop irrelevant __maybe_unused
mfd: rt4831: Drop irrelevant __maybe_unused
mfd: Drop unused assignment of i2c_device_id driver data
mfd: Drop unused assignment of platform_device_id driver data
mfd: intel-m10-bmc-pmci: Use named initializers for dfl_device_id
array
mfd: Use named initializers for arrays of i2c_device_id
mfd: twl6030: Use named initializers for of_device_id
mfd: Use PCI_DEVICE* macros to initialize pci_device_id arrays
mfd: Use named initializers for platform_device_id array
mfd: Unify style of dmi_system_id arrays
mfd: Unify style of i2c_device_id arrays
mfd: Unify style of of_device_id arrays
mfd: Unify style of pci_device_id arrays
drivers/mfd/88pm800.c | 4 +-
drivers/mfd/88pm805.c | 4 +-
drivers/mfd/88pm860x-core.c | 8 ++--
drivers/mfd/aat2870-core.c | 2 +-
drivers/mfd/ab8500-core.c | 8 ++--
drivers/mfd/ab8500-sysctrl.c | 4 +-
drivers/mfd/ac100.c | 2 +-
drivers/mfd/act8945a.c | 8 ++--
drivers/mfd/adp5520.c | 4 +-
drivers/mfd/altera-a10sr.c | 2 +-
drivers/mfd/altera-sysmgr.c | 2 +-
drivers/mfd/arizona-i2c.c | 14 +++----
drivers/mfd/arizona-spi.c | 2 +-
drivers/mfd/as3711.c | 8 ++--
drivers/mfd/as3722.c | 8 ++--
drivers/mfd/atmel-hlcdc.c | 2 +-
drivers/mfd/atmel-smc.c | 2 +-
drivers/mfd/axp20x-i2c.c | 24 +++++------
drivers/mfd/axp20x-rsb.c | 2 +-
drivers/mfd/bcm2835-pm.c | 15 +++++--
drivers/mfd/bcm590xx.c | 4 +-
drivers/mfd/bd9571mwv.c | 6 +--
drivers/mfd/bq257xx.c | 8 ++--
drivers/mfd/cgbc-core.c | 2 +-
drivers/mfd/cros_ec_dev.c | 2 +-
drivers/mfd/cs40l50-i2c.c | 6 +--
drivers/mfd/cs40l50-spi.c | 2 +-
drivers/mfd/cs42l43-i2c.c | 2 +-
drivers/mfd/cs5535-mfd.c | 2 +-
drivers/mfd/da903x.c | 6 +--
drivers/mfd/da9052-i2c.c | 12 +++---
drivers/mfd/da9055-i2c.c | 4 +-
drivers/mfd/da9062-core.c | 4 +-
drivers/mfd/da9063-i2c.c | 11 ++---
drivers/mfd/da9150-core.c | 4 +-
drivers/mfd/db8500-prcmu.c | 4 +-
drivers/mfd/exynos-lpass.c | 2 +-
drivers/mfd/gateworks-gsc.c | 2 +-
drivers/mfd/hi6421-pmic-core.c | 6 +--
drivers/mfd/hi655x-pmic.c | 4 +-
drivers/mfd/intel-m10-bmc-pmci.c | 2 +-
drivers/mfd/intel_quark_i2c_gpio.c | 6 +--
drivers/mfd/intel_soc_pmic_crc.c | 2 +-
drivers/mfd/ioc3.c | 4 +-
drivers/mfd/janz-cmodio.c | 14 +++----
drivers/mfd/kempld-core.c | 66 ++++++++----------------------
drivers/mfd/khadas-mcu.c | 2 +-
drivers/mfd/lm3533-core.c | 2 +-
drivers/mfd/lochnagar-i2c.c | 2 +-
drivers/mfd/lp3943.c | 4 +-
drivers/mfd/lp873x.c | 8 ++--
drivers/mfd/lp87565.c | 9 ++--
drivers/mfd/lp8788.c | 2 +-
drivers/mfd/lpc_ich.c | 2 +-
drivers/mfd/macsmc.c | 2 +-
drivers/mfd/madera-core.c | 2 +-
drivers/mfd/madera-i2c.c | 18 ++++----
drivers/mfd/max14577.c | 6 +--
drivers/mfd/max7360.c | 2 +-
drivers/mfd/max77541.c | 4 +-
drivers/mfd/max77620.c | 8 ++--
drivers/mfd/max77686.c | 2 +-
drivers/mfd/max77693.c | 4 +-
drivers/mfd/max77714.c | 2 +-
drivers/mfd/max77759.c | 4 +-
drivers/mfd/max77843.c | 8 ++--
drivers/mfd/max8907.c | 6 +--
drivers/mfd/max8925-i2c.c | 6 +--
drivers/mfd/max8997.c | 6 +--
drivers/mfd/max8998.c | 6 +--
drivers/mfd/mc13xxx-spi.c | 6 +--
drivers/mfd/menelaus.c | 2 +-
drivers/mfd/menf21bmc.c | 2 +-
drivers/mfd/mp2629.c | 2 +-
drivers/mfd/mt6360-core.c | 6 +--
drivers/mfd/mt6370.c | 2 +-
drivers/mfd/mt6397-core.c | 4 +-
drivers/mfd/mxs-lradc.c | 4 +-
drivers/mfd/ntxec.c | 4 +-
drivers/mfd/omap-usb-host.c | 4 +-
drivers/mfd/palmas.c | 8 ++--
drivers/mfd/pf1550.c | 2 +-
drivers/mfd/qcom-pm8008.c | 4 +-
drivers/mfd/qcom-pm8xxx.c | 6 +--
drivers/mfd/rave-sp.c | 4 +-
drivers/mfd/rc5t583.c | 4 +-
drivers/mfd/rdc321x-southbridge.c | 2 +-
drivers/mfd/retu-mfd.c | 4 +-
drivers/mfd/rk8xx-i2c.c | 2 +-
drivers/mfd/rk8xx-spi.c | 2 +-
drivers/mfd/rohm-bd71828.c | 4 +-
drivers/mfd/rohm-bd9576.c | 6 +--
drivers/mfd/rsmu_i2c.c | 18 ++++----
drivers/mfd/rsmu_spi.c | 2 +-
drivers/mfd/rt4831.c | 6 +--
drivers/mfd/rt5033.c | 4 +-
drivers/mfd/rt5120.c | 2 +-
drivers/mfd/rz-mtu3.c | 2 +-
drivers/mfd/sec-acpm.c | 6 +--
drivers/mfd/sec-i2c.c | 22 +++++-----
drivers/mfd/si476x-i2c.c | 8 ++--
drivers/mfd/simple-mfd-i2c.c | 2 +-
drivers/mfd/sky81452.c | 4 +-
drivers/mfd/sm501.c | 4 +-
drivers/mfd/smpro-core.c | 2 +-
drivers/mfd/sprd-sc27xx-spi.c | 2 +-
drivers/mfd/ssbi.c | 2 +-
drivers/mfd/stm32-lptimer.c | 4 +-
drivers/mfd/stm32-timers.c | 4 +-
drivers/mfd/stmfx.c | 4 +-
drivers/mfd/stmpe-i2c.c | 34 +++++++--------
drivers/mfd/stmpe-spi.c | 14 +++----
drivers/mfd/stpmic1.c | 4 +-
drivers/mfd/stw481x.c | 8 ++--
drivers/mfd/sun6i-prcm.c | 2 +-
drivers/mfd/tc3589x.c | 14 +++----
drivers/mfd/ti-lmu.c | 10 ++---
drivers/mfd/timberdale.c | 2 +-
drivers/mfd/tps6105x.c | 6 +--
drivers/mfd/tps65010.c | 10 ++---
drivers/mfd/tps6507x.c | 6 +--
drivers/mfd/tps65086.c | 4 +-
drivers/mfd/tps65090.c | 6 +--
drivers/mfd/tps65217.c | 6 +--
drivers/mfd/tps65218.c | 8 ++--
drivers/mfd/tps65219.c | 8 ++--
drivers/mfd/tps6586x.c | 6 +--
drivers/mfd/tps65910.c | 12 +++---
drivers/mfd/tps65912-i2c.c | 4 +-
drivers/mfd/tps65912-spi.c | 2 +-
drivers/mfd/tps6594-i2c.c | 12 +++---
drivers/mfd/tps6594-spi.c | 12 +++---
drivers/mfd/tqmx86.c | 2 +-
drivers/mfd/twl-core.c | 22 +++++-----
drivers/mfd/twl4030-audio.c | 4 +-
drivers/mfd/twl4030-power.c | 2 +-
drivers/mfd/twl6030-irq.c | 6 +--
drivers/mfd/twl6040.c | 4 +-
drivers/mfd/vexpress-sysreg.c | 4 +-
drivers/mfd/vx855.c | 2 +-
drivers/mfd/wm831x-core.c | 2 +-
drivers/mfd/wm831x-i2c.c | 14 +++----
drivers/mfd/wm8350-i2c.c | 6 +--
drivers/mfd/wm8400-core.c | 4 +-
drivers/mfd/wm8994-core.c | 8 ++--
include/linux/mfd/bcm2835-pm.h | 9 ----
include/linux/mfd/kempld.h | 12 ------
147 files changed, 430 insertions(+), 472 deletions(-)
base-commit: 1cb7268b6638c411fc32f373e965eb8ba9e9b2b4
--
2.47.3
next reply other threads:[~2026-11-23 11:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 11:17 Uwe Kleine-König [this message]
2026-11-23 11:18 ` [PATCH v5 16/17] mfd: Unify style of of_device_id arrays Uwe Kleine-König
2026-11-23 14:26 ` Matti Vaittinen
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=cover.1795431460.git.u.kleine-koenig@baylibre.com \
--to=u.kleine-koenig@baylibre.com \
--cc=Frank.Li@nxp.com \
--cc=aaro.koskinen@iki.fi \
--cc=alexandre.belloni@bootlin.com \
--cc=alexandre.torgue@foss.st.com \
--cc=alim.akhtar@samsung.com \
--cc=andre.draszik@linaro.org \
--cc=andreas@kemnade.info \
--cc=andy@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=asahi@lists.linux.dev \
--cc=baolin.wang@linux.alibaba.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=ben.bright@cirrus.com \
--cc=bleung@chromium.org \
--cc=chrome-platform@lists.linux.dev \
--cc=ckeepax@opensource.cirrus.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=cw00.choi@samsung.com \
--cc=david.rhodes@cirrus.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=festevam@gmail.com \
--cc=florian.fainelli@broadcom.com \
--cc=fred.treven@cirrus.com \
--cc=geert+renesas@glider.be \
--cc=groeck@chromium.org \
--cc=heiko@sntech.de \
--cc=imx@lists.linux.dev \
--cc=j.neuschaefer@gmx.net \
--cc=j@jannau.net \
--cc=jernej.skrabec@gmail.com \
--cc=jogletre@opensource.cirrus.com \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux@ew.tq-group.com \
--cc=liviu.dudau@arm.com \
--cc=lpieralisi@kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=magnus.damm@gmail.com \
--cc=marek.vasut+renesas@gmail.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=matthias.bgg@gmail.com \
--cc=mazziesaccount@gmail.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mfd@lists.linux.dev \
--cc=michael.hennerich@analog.com \
--cc=neal@gompa.dev \
--cc=neil.armstrong@linaro.org \
--cc=nicolas.ferre@microchip.com \
--cc=orsonzhai@gmail.com \
--cc=patches@opensource.cirrus.com \
--cc=peter.griffin@linaro.org \
--cc=ptyser@xes-inc.com \
--cc=pzalewski@thegoodpenguin.co.uk \
--cc=rf@opensource.cirrus.com \
--cc=rogerq@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=samkay014@gmail.com \
--cc=samuel@sholland.org \
--cc=sravanhome@gmail.com \
--cc=sudeep.holla@kernel.org \
--cc=support.opensource@diasemi.com \
--cc=sven@kernel.org \
--cc=tharvey@gateworks.com \
--cc=thomas.richard@bootlin.com \
--cc=tony@atomide.com \
--cc=trix@redhat.com \
--cc=wens@kernel.org \
--cc=yilun.xu@intel.com \
--cc=zhang.lyra@gmail.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