s390/ism: Drop superfluous zeros in pci_device_id array

The .driver_data member of the struct pci_device_id array were
initialized by a list expressions to zero without making use of that
value. In this case it's better to not specify a value at all and let
the compiler fill in the zeros. Same for the list terminator that can
better be completely empty.

This patch doesn't introduce changes to the compiled array.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Acked-by: Alexandra Winter <wintera@linux.ibm.com>
Link: https://patch.msgid.link/20260522153010.777081-2-u.kleine-koenig@baylibre.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Uwe Kleine-König (The Capable Hub) 2026-05-22 17:30:09 +02:00 committed by Paolo Abeni
parent da1ab4ec55
commit 18b9f739d3

View File

@ -23,8 +23,8 @@ MODULE_LICENSE("GPL");
#define DRV_NAME "ism"
static const struct pci_device_id ism_device_table[] = {
{ PCI_VDEVICE(IBM, PCI_DEVICE_ID_IBM_ISM), 0 },
{ 0, }
{ PCI_VDEVICE(IBM, PCI_DEVICE_ID_IBM_ISM) },
{ }
};
MODULE_DEVICE_TABLE(pci, ism_device_table);