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>
This commit is contained in:
Uwe Kleine-König (The Capable Hub)
2026-07-26 21:26:07 +02:00
committed by David Heidelberg
parent 72674c6648
commit 17198726ba
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -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
+2 -2
View File
@@ -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);