[PATCH v1 00/12] nfc: Various cleanups around device_id arrays

From: Uwe Kleine-König (The Capable Hub)

Date: Fri Jul 03 2026 - 11:51:27 EST


Hello,

this series's objective is to convert device_id arrays of various
different device types to named initialisation. It contains a few
cleanups left and right that I spotted while working on these changes.

The follow up change is to replace .driver_data by an anonymous union,
see
https://lore.kernel.org/all/cover.1780048925.git.u.kleine-koenig@xxxxxxxxxxxx/
for the idea.

The changes here are not strictly necessary for my quest, but they align
the device_id structures to how they look and will look for other
subsystems.

Best regards
Uwe

Uwe Kleine-König (The Capable Hub) (12):
nfc: Drop __maybe_unused from acpi_device_id tables
nfc: Drop unused assignment of acpi_device_id driver data
nfc: Initialize acpi_device_id arrays using member names
nfc: Unify style of acpi_device_id arrays
nfc: pn544: Drop empty line between i2c_device_id array and
MODULE_DEVICE_TABLE()
nfc: Initialize mei_cl_device_idarrays using member names
nfc: Drop __maybe_unused from of_device_id tables
nfc: Unify style of of_device_id arrays
nfc: Drop unused assignment of spi_device_id driver data
nfc: Initialize spi_device_idarrays using member names
nfc: Unify style of spi_device_id arrays
nfc: Unify style of usb_device_id arrays

drivers/nfc/fdp/i2c.c | 4 ++--
drivers/nfc/microread/mei.c | 10 ++++++----
drivers/nfc/nfcmrvl/i2c.c | 6 +++---
drivers/nfc/nfcmrvl/spi.c | 8 ++++----
drivers/nfc/nfcmrvl/usb.c | 1 -
drivers/nfc/nxp-nci/i2c.c | 10 +++++-----
drivers/nfc/pn533/i2c.c | 10 +++++-----
drivers/nfc/pn533/uart.c | 4 ++--
drivers/nfc/pn544/i2c.c | 14 ++++++--------
drivers/nfc/pn544/mei.c | 10 ++++++----
drivers/nfc/port100.c | 4 ++--
drivers/nfc/s3fwrn5/i2c.c | 6 +++---
drivers/nfc/s3fwrn5/uart.c | 4 ++--
drivers/nfc/st-nci/i2c.c | 18 +++++++++---------
drivers/nfc/st-nci/spi.c | 18 +++++++++---------
drivers/nfc/st21nfca/i2c.c | 14 +++++++-------
drivers/nfc/st95hf/core.c | 8 ++++----
drivers/nfc/trf7970a.c | 12 +++++-------
18 files changed, 80 insertions(+), 81 deletions(-)


base-commit: 6eb8711ece2ce27e52e327a5b7a628ed39b97f45
--
2.55.0.11.g153666a7d9bb