Thread (3 messages) read the whole thread 3 messages, 2 authors, 11d ago

Re: [PATCH v2 12/12] misc: Unify code style for various *_device_id arrays

From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date: 2026-07-20 12:31:54
Also in: linux-gpio, linux-pci, lkml

On Fri, Jul 17, 2026 at 04:50:58PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
 - Add a trailing comma for initializers unless the closing brace is on
   the same line and for the list terminator;
 - Use a single space in the list terminator;
 - A space after an opening { and before a closing };
 - Use the PCI_DEVICE* macro in two drivers for pci_device_id entry
   which is usual for these arrays
 - No explicit zeros in the list terminator;

None of these changes introduces changes to the compiled result.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <redacted>
---
...
 drivers/misc/cb710/core.c                     |   5 +-
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help