Re: [PATCH] media: pci: Use PCI_DEVICE macros and drop zeros from pci_device_id arrays
Uwe Kleine-König (The Capable Hub) <[email protected]> Mon, 29 Jun 2026 19:19:12 +0200
| Newsgroups | gmane.linux.drivers.video-input-infrastructure,gmane.linux.kernel,gmane.comp.video.mjpeg.user |
|---|---|
| Message-ID | <akKouitA4lNoqios@monoceros> |
--sn4ibpglpe5vkcxw
Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: [PATCH] media: pci: Use PCI_DEVICE macros and drop zeros from
pci_device_id arrays
MIME-Version: 1.0
Hello,
On Mon, Jun 29, 2026 at 07:12:54PM +0200, Uwe Kleine-K=F6nig (The Capable H=
ub) 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.
>=20
> Signed-off-by: Uwe Kleine-K=F6nig (The Capable Hub) <u.kleine-koenig@bayl=
ibre.com>
> ---
> Hello,
>=20
> v2 can be found at https://lore.kernel.org/linux-media/423da5a0ba0c9371c3=
d30011ed245f596d70b58b.1781020630.git.u.kleine-koenig@baylibre.com
>=20
> Changes since then:
> =20
> - 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
>=20
> - rebased to next/master
>=20
> 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
--sn4ibpglpe5vkcxw
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmpCqQwACgkQj4D7WH0S
/k42uQgArec+zHApNoqm7caVJsGyBH1pH+qRfZt9vPK0PULUf4cQTcW8UNSsUpBP
qE5KoME7nV8ydfaFqjoY0Y5Mj3rz3EdUZeTtdLPJVZc4J0VjrmX3Feelums8q0ih
o/2U85quGCxtaa7LSRBY/mgyJCcETLEEGlpKe8C4o1eIf8iAjw/82yA9FE/0TlIz
pQrUDCkrREnArbJvx8S/Wm5bs8JpG+jdnnLA5DJU0fE694Fdq5xR6IJ2Q4buax97
hTrh0dAEASo8VhtsRyYNNyRgkzkkxrabJkW6xtGe0iY2xDxtAxqoTMb80rRPoQEV
YwzeHbPiO7ZcDm0YcdqQwRslYea4OQ==
=BNLm
-----END PGP SIGNATURE-----
--sn4ibpglpe5vkcxw--