summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-07-03 17:46:26 +0200
committerDavid Heidelberg <david@ixit.cz>2026-07-26 21:26:07 +0200
commit17198726ba7e66bef32e18329fca12df2f5fa2bb (patch)
tree7121ec4e87416bd02802ea63b998fe6279dd5502
parent72674c6648941a10ed3a806d09dccdabb6cf51b1 (diff)
downloadlinux-next-17198726ba7e66bef32e18329fca12df2f5fa2bb.tar.gz
linux-next-17198726ba7e66bef32e18329fca12df2f5fa2bb.zip
nfc: Unify style of usb_device_id arrays
The usual coding style is to skip the comma after a initializer iff the closing } is on the same line. Also there is usually no empty line between the array and the MODULE_DEVICE_TABLE() macro. Adapt two drivers accordingly to match this common style. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/8a186cb0376deb3d4f4264e6ed351562b79bb53d.1783091699.git.u.kleine-koenig@baylibre.com Signed-off-by: David Heidelberg <david@ixit.cz>
-rw-r--r--drivers/nfc/nfcmrvl/usb.c1
-rw-r--r--drivers/nfc/port100.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/nfc/nfcmrvl/usb.c b/drivers/nfc/nfcmrvl/usb.c
index 4babde8e4249..c7f2afe00b93 100644
--- a/drivers/nfc/nfcmrvl/usb.c
+++ b/drivers/nfc/nfcmrvl/usb.c
@@ -17,7 +17,6 @@ static struct usb_device_id nfcmrvl_table[] = {
USB_CLASS_VENDOR_SPEC, 4, 1) },
{ } /* Terminating entry */
};
-
MODULE_DEVICE_TABLE(usb, nfcmrvl_table);
#define NFCMRVL_USB_BULK_RUNNING 1
diff --git a/drivers/nfc/port100.c b/drivers/nfc/port100.c
index 5ae61d7ebcfe..b613f5e2fd57 100644
--- a/drivers/nfc/port100.c
+++ b/drivers/nfc/port100.c
@@ -1480,8 +1480,8 @@ static const struct nfc_digital_ops port100_digital_ops = {
};
static const struct usb_device_id port100_table[] = {
- { USB_DEVICE(SONY_VENDOR_ID, RCS380S_PRODUCT_ID), },
- { USB_DEVICE(SONY_VENDOR_ID, RCS380P_PRODUCT_ID), },
+ { USB_DEVICE(SONY_VENDOR_ID, RCS380S_PRODUCT_ID) },
+ { USB_DEVICE(SONY_VENDOR_ID, RCS380P_PRODUCT_ID) },
{ }
};
MODULE_DEVICE_TABLE(usb, port100_table);