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

From: Michał Mirosław

Date: Mon Jul 20 2026 - 08:38:59 EST


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) <u.kleine-koenig@xxxxxxxxxxxx>
> ---
...
> drivers/misc/cb710/core.c | 5 +-

Acked-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx>