mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user