Re: [PATCH] media: pci: Use PCI_DEVICE macros and drop zeros from pci_device_id arrays
From: Uwe Kleine-König (The Capable Hub)
Date: Mon Jun 29 2026 - 13:19:31 EST
Hello,
On Mon, Jun 29, 2026 at 07:12:54PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> Some pci_device_id arrays already used the PCI_DEVICE macros, others
> used named initializers or list initializers. Unify all to use the
> PCI_DEVICE macros and (if applicable) a named initializer for
> .driver_data. Also drop all zeros that the compiler can care for and
> unify indention and spacing.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
> ---
> Hello,
>
> v2 can be found at https://lore.kernel.org/linux-media/423da5a0ba0c9371c3d30011ed245f596d70b58b.1781020630.git.u.kleine-koenig@xxxxxxxxxxxx
>
> Changes since then:
>
> - Fix code-styling as pointed out by the Media CI robot (instead of
> keeping the style as it was) in
> drivers/media/pci/saa7146/hexium_{gemini,orion}.c
>
> - rebased to next/master
>
> Note I already claimed to have fixed the coding-style in v2, but I
> failed to commit that. Just mention it to prevent further confusion.
I again failed to send this out properly: I forgot to add "v3" to the
Subject and to remove the prerequisite-patch-id lines below.
Please tell me if I should resend.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature