linux/drivers/nfc
Uwe Kleine-König (The Capable Hub) 567ab7727a
nfc: Use named initializers for struct i2c_device_id
While being less compact, using named initializers allows to more easily
see which members of the structs are assigned which value without having
to lookup the declaration of the struct. And it's also more robust
against changes to the struct definition.

While touching all these arrays, unify usage of whitespace in the list
terminator.

This patch doesn't modify the compiled arrays, only their representation
in source form benefits. The former was confirmed with x86 and arm64
builds.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260518133311.644160-2-u.kleine-koenig@baylibre.com
Signed-off-by: David Heidelberg <david@ixit.cz>
2026-06-11 20:24:47 +02:00
..
fdp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-22 18:40:38 -07:00
microread nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
nfcmrvl nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
nxp-nci nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
pn533 nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
pn544 nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
s3fwrn5 nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
st-nci nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
st21nfca nfc: Use named initializers for struct i2c_device_id 2026-06-11 20:24:47 +02:00
st95hf nfc: st95hf: drop driver owner assignment 2024-03-29 12:32:51 -07:00
Kconfig
Makefile
mei_phy.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mei_phy.h NFC: mei_phy: fix kernel-doc warnings 2025-11-17 19:32:32 -08:00
nfcsim.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
port100.c nfc: port100: refactor endpoint lookup 2026-03-31 19:24:30 -07:00
trf7970a.c nfc: trf7970a: fix comment typos 2026-06-11 20:21:32 +02:00
virtual_ncidev.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00