gpio: Improvements around device-id arrays
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest23 patches 10 repliesApplied
- v322 patches 6 repliesSuperseded
- v2 posting 2/212 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 21 patches | 7 replies | Superseded | |
| v1 | 20 patches | 15 replies | Superseded |
Changes in v4 from the cover letter
https://lore.kernel.org/all/[email protected]):
- Picked up review tags (b4 even found some from v2)
- Add a 2nd MODULE_DEVICE_TABLE(of, ...) in drivers/gpio/gpio-mpc5200.c (My grep didn't handle >1 driver per file well), noticed by Sashiko
- New patch to use named initializers for auxiliary_device_id arrays
- Fix code style of of_device_id array in drivers/gpio/gpio-grgpio.c (My script doesn't handle of_device_id::name) and drivers/gpio/gpio-ppc44x.c (didn't exist yet when I sent v2 and failed to notice that for v3)
- Fix code style of auxiliary_device_id array in drivers/gpio/gpio-shared-proxy.c, missed as I didn't have a script for auxiliary_device_id before.
- Dropped a few broken email addresses from Cc:
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | gpio: Remove __maybe_unused annotations from acpi_device_id arraysdrivers/ drivers/ | +2 | 0 replies | |
| 2/23 | gpio: fxl6408: Remove __maybe_unused annotations from of_device_id arraydrivers/ | +1 | 0 replies | |
| 3/23 | gpio: Drop unused assignment of acpi_device_id driver datadrivers/ drivers/ drivers/ +2 more | +5 | 0 replies | |
| 4/23 | gpio: max7301: Drop unused assignment of spi_device_id driver datadrivers/ | +1 | 0 replies | |
| 5/23 | gpio: mmio: Drop unused assignment of platform_device_id driver datadrivers/ | +1 | 0 replies | |
| 6/23 | gpio: ljca: Drop unused assignment of auxiliary_device_id driver datadrivers/ | +1 | 0 replies | |
| 7/23 | gpio: xgene: Add missing ACPI module annotationdrivers/ | +1 | 0 replies | |
| 8/23 | gpio: sodaville: Add missing PCI module annotationsdrivers/ | +1 | 0 replies | |
| 9/23 | gpio: Add missing OF module annotationsdrivers/ drivers/ drivers/ +13 more | +17 | 0 replies | |
| 10/23 | gpio: pxa: Add missing platform module annotationsdrivers/ | +1 | 0 replies | |
| 11/23 | gpio: pl061: Use empty initializer for amba_id terminatordrivers/ | +1 | 0 replies | |
| 12/23 | gpio: Use named initializers for acpi_device_id arraydrivers/ drivers/ drivers/ +12 more | +27 | 0 replies | |
| 13/23 | gpio: Use named initializers for auxiliary_device_id arraysdrivers/ drivers/ drivers/ +2 more | +5 | 1 reply | |
| 14/23 | gpio: pcf857x: Use named initializers for of_device_id arraydrivers/ | +13 | 0 replies | |
| 15/23 | gpio: bd73800: Use named initializers for platform_device_id arraydrivers/ | +2 | 0 replies | |
| 16/23 | gpio: Use named initializers for spi_device_id arraydrivers/ drivers/ drivers/ +1 more | +9 | 0 replies | |
| 17/23 | gpio: virtio: Use a named initializer for virtio_device_id arraydrivers/ | +1 | 0 replies | |
| 18/23 | gpio: Unify style of acpi_device_id arraysdrivers/ drivers/ drivers/ +10 more | +13 | 0 replies | |
| 19/23 | gpio: Unify style of of_device_id arraysdrivers/ drivers/ drivers/ +71 more | +162 | 0 replies | |
| 20/23 | gpio: max77620: Unify style of platform_device_id arraydrivers/ | +2 | 0 replies | |
| 21/23 | gpio: Unify style of spi_device_id arraysdrivers/ drivers/ | +2 | 0 replies | |
| 22/23 | gpio: Unify style of pci_device_id arraysdrivers/ drivers/ drivers/ +4 more | +12 | 2 replies | |
| 23/23 | gpio: Unify style of various *_device_id arraysdrivers/ drivers/ drivers/ +3 more | +6 | 0 replies |
Reviews trailers per patch
10 of 23 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Sakari Ailus | Andy Shevchenko | Daniel Palmer | Linus Walleij | Frank Li | Matti Vaittinen | Viresh Kumar | Alan Borzeszkowski | William Breathitt Gray |
|---|---|---|---|---|---|---|---|---|---|
| Series | A-b | ||||||||
| 1/23 | |||||||||
| 2/23 | |||||||||
| 3/23 | |||||||||
| 4/23 | |||||||||
| 5/23 | |||||||||
| 6/23 | A-b | ||||||||
| 7/23 | |||||||||
| 8/23 | R-b | ||||||||
| 9/23 | A-b | R-b | R-b | ||||||
| 10/23 | |||||||||
| 11/23 | |||||||||
| 12/23 | A-b | ||||||||
| 13/23 | A-b | ||||||||
| 14/23 | |||||||||
| 15/23 | R-b | ||||||||
| 16/23 | |||||||||
| 17/23 | A-b | ||||||||
| 18/23 | |||||||||
| 19/23 | A-b | ||||||||
| 20/23 | |||||||||
| 21/23 | |||||||||
| 22/23 | R-b | R-b | A-b | ||||||
| 23/23 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.
Cover letter [PATCH v4 00/23] gpio: Improvements around device-id arrays
Hello,
the original motivation for this series are the patches that convert the arrays to use named initializers, see
https://lore.kernel.org/all/[email protected]/
for the idea behind it. Looking left and right a bit while implementing that, the series grew a bit.
Changes since v3 (available at
https://lore.kernel.org/all/[email protected]):
- Picked up review tags (b4 even found some from v2)
- Add a 2nd MODULE_DEVICE_TABLE(of, ...) in drivers/gpio/gpio-mpc5200.c (My grep didn't handle >1 driver per file well), noticed by Sashiko
- New patch to use named initializers for auxiliary_device_id arrays
- Fix code style of of_device_id array in drivers/gpio/gpio-grgpio.c (My script doesn't handle of_device_id::name) and drivers/gpio/gpio-ppc44x.c (didn't exist yet when I sent v2 and failed to notice that for v3)
- Fix code style of auxiliary_device_id array in drivers/gpio/gpio-shared-proxy.c, missed as I didn't have a script for auxiliary_device_id before.
- Dropped a few broken email addresses from Cc:
Best regards
Uwe
Uwe Kleine-König (The Capable Hub) (23):
gpio: Remove __maybe_unused annotations from acpi_device_id arrays
gpio: fxl6408: Remove __maybe_unused annotations from of_device_id
array
gpio: Drop unused assignment of acpi_device_id driver data
gpio: max7301: Drop unused assignment of spi_device_id driver data
gpio: mmio: Drop unused assignment of platform_device_id driver data
gpio: ljca: Drop unused assignment of auxiliary_device_id driver data
gpio: xgene: Add missing ACPI module annotation
gpio: sodaville: Add missing PCI module annotations
gpio: Add missing OF module annotations
gpio: pxa: Add missing platform module annotations
gpio: pl061: Use empty initializer for amba_id terminator
gpio: Use named initializers for acpi_device_id array
gpio: Use named initializers for auxiliary_device_id arrays
gpio: pcf857x: Use named initializers for of_device_id array
gpio: bd73800: Use named initializers for platform_device_id array
gpio: Use named initializers for spi_device_id array
gpio: virtio: Use a named initializer for virtio_device_id array
gpio: Unify style of acpi_device_id arrays
gpio: Unify style of of_device_id arrays
gpio: max77620: Unify style of platform_device_id array
gpio: Unify style of spi_device_id arrays
gpio: Unify style of pci_device_id arrays
gpio: Unify style of various *_device_id arrays
drivers/gpio/gpio-74x164.c | 4 ++-- drivers/gpio/gpio-adnp.c | 4 ++-- drivers/gpio/gpio-aggregator.c | 2 +- drivers/gpio/gpio-altera-a10sr.c | 2 +- drivers/gpio/gpio-altera.c | 4 ++-- drivers/gpio/gpio-amd8111.c | 2 +- drivers/gpio/gpio-amdpt.c | 8 ++++---- drivers/gpio/gpio-aspeed-sgpio.c | 10 ++++----- drivers/gpio/gpio-aspeed.c | 10 ++++----- drivers/gpio/gpio-ath79.c | 2 +- drivers/gpio/gpio-bcm-kona.c | 1 + drivers/gpio/gpio-bd73800.c | 4 ++-- drivers/gpio/gpio-blzp1600.c | 4 ++-- drivers/gpio/gpio-brcmstb.c | 2 +- drivers/gpio/gpio-bt8xx.c | 2 +- drivers/gpio/gpio-cadence.c | 6 +++--- drivers/gpio/gpio-creg-snps.c | 5 +++-- drivers/gpio/gpio-davinci.c | 8 ++++---- drivers/gpio/gpio-dwapb.c | 14 ++++++------- drivers/gpio/gpio-elkhartlake.c | 2 +- drivers/gpio/gpio-em.c | 4 ++-- drivers/gpio/gpio-ep93xx.c | 1 + drivers/gpio/gpio-ftgpio010.c | 3 ++- drivers/gpio/gpio-fxl6408.c | 2 +- drivers/gpio/gpio-graniterapids.c | 4 ++-- drivers/gpio/gpio-grgpio.c | 6 +++--- drivers/gpio/gpio-gw-pld.c | 4 ++-- drivers/gpio/gpio-hisi.c | 6 +++--- drivers/gpio/gpio-hlwd.c | 4 ++-- drivers/gpio/gpio-imx-scu.c | 1 + drivers/gpio/gpio-ixp4xx.c | 4 ++-- drivers/gpio/gpio-ljca.c | 4 ++-- drivers/gpio/gpio-loongson-64bit.c | 4 ++-- drivers/gpio/gpio-lp3943.c | 2 +- drivers/gpio/gpio-lpc32xx.c | 4 ++-- drivers/gpio/gpio-ltc4283.c | 2 +- drivers/gpio/gpio-macsmc.c | 4 ++-- drivers/gpio/gpio-max3191x.c | 12 +++++------ drivers/gpio/gpio-max7301.c | 2 +- drivers/gpio/gpio-max7360.c | 8 ++++---- drivers/gpio/gpio-max77620.c | 4 ++-- drivers/gpio/gpio-max77759.c | 2 +- drivers/gpio/gpio-mb86s7x.c | 2 +- drivers/gpio/gpio-ml-ioh.c | 2 +- drivers/gpio/gpio-mlxbf.c | 6 +++--- drivers/gpio/gpio-mlxbf2.c | 6 +++--- drivers/gpio/gpio-mlxbf3.c | 4 ++-- drivers/gpio/gpio-mm-lantiq.c | 2 +- drivers/gpio/gpio-mmio.c | 3 +-- drivers/gpio/gpio-mockup.c | 4 ++-- drivers/gpio/gpio-moxtet.c | 4 ++-- drivers/gpio/gpio-mpc5200.c | 10 +++++---- drivers/gpio/gpio-mpc8xxx.c | 25 +++++++++++----------- drivers/gpio/gpio-mpfs.c | 1 + drivers/gpio/gpio-mpsse.c | 3 +-- drivers/gpio/gpio-msc313.c | 1 + drivers/gpio/gpio-mt7621.c | 2 +- drivers/gpio/gpio-mvebu.c | 13 ++++++------ drivers/gpio/gpio-mxc.c | 2 +- drivers/gpio/gpio-mxs.c | 4 ++-- drivers/gpio/gpio-nomadik.c | 7 ++++--- drivers/gpio/gpio-novalake-events.c | 4 ++-- drivers/gpio/gpio-npcm-sgpio.c | 6 +++--- drivers/gpio/gpio-octeon.c | 2 +- drivers/gpio/gpio-omap.c | 2 +- drivers/gpio/gpio-palmas.c | 10 ++++----- drivers/gpio/gpio-pca953x.c | 4 ++-- drivers/gpio/gpio-pca9570.c | 2 +- drivers/gpio/gpio-pcf857x.c | 26 +++++++++++------------ drivers/gpio/gpio-pci-idio-16.c | 3 ++- drivers/gpio/gpio-pcie-idio-24.c | 8 +++++--- drivers/gpio/gpio-pisosr.c | 4 ++-- drivers/gpio/gpio-pl061.c | 2 +- drivers/gpio/gpio-pmic-eic-sprd.c | 2 +- drivers/gpio/gpio-ppc44x.c | 2 +- drivers/gpio/gpio-pxa.c | 20 ++++++++++-------- drivers/gpio/gpio-qixis-fpga.c | 3 +-- drivers/gpio/gpio-rcar.c | 2 +- drivers/gpio/gpio-rda.c | 2 +- drivers/gpio/gpio-realtek-otto.c | 2 +- drivers/gpio/gpio-rockchip.c | 4 ++-- drivers/gpio/gpio-sama5d2-piobu.c | 2 +- drivers/gpio/gpio-shared-proxy.c | 2 +- drivers/gpio/gpio-sifive.c | 2 +- drivers/gpio/gpio-sl28cpld.c | 2 +- drivers/gpio/gpio-sodaville.c | 3 ++- drivers/gpio/gpio-spear-spics.c | 3 ++- drivers/gpio/gpio-sprd.c | 2 +- drivers/gpio/gpio-stmpe.c | 2 +- drivers/gpio/gpio-stp-xway.c | 2 +- drivers/gpio/gpio-tc9563.c | 2 +- drivers/gpio/gpio-tegra.c | 6 +++--- drivers/gpio/gpio-tegra186.c | 32 ++++++++++++++--------------- drivers/gpio/gpio-thunderx.c | 3 +-- drivers/gpio/gpio-tps65218.c | 2 +- drivers/gpio/gpio-ts4800.c | 4 ++-- drivers/gpio/gpio-ts4900.c | 2 +- drivers/gpio/gpio-twl4030.c | 4 ++-- drivers/gpio/gpio-usbio.c | 14 ++++++------- drivers/gpio/gpio-vf610.c | 4 ++-- drivers/gpio/gpio-virtio.c | 4 ++-- drivers/gpio/gpio-visconti.c | 2 +- drivers/gpio/gpio-waveshare-dsi.c | 2 +- drivers/gpio/gpio-xgene-sb.c | 6 +++--- drivers/gpio/gpio-xgene.c | 10 +++++---- drivers/gpio/gpio-xgs-iproc.c | 2 +- drivers/gpio/gpio-xilinx.c | 4 ++-- drivers/gpio/gpio-xlp.c | 6 +++--- drivers/gpio/gpio-xra1403.c | 6 +++--- drivers/gpio/gpio-zevio.c | 5 +++-- drivers/gpio/gpio-zynqmp-modepin.c | 2 +- drivers/gpio/gpiolib-acpi-quirks.c | 2 +- 112 files changed, 278 insertions(+), 260 deletions(-)
base-commit: 20a33c6b6cbe7e4805dfb6cd68816937443aa148
Signature · 1 line
2.56.0.rc1