* Re: [PATCH] pwm: Consistently define pci_device_ids using named initializers [not found] <20260504085535.1914668-2-u.kleine-koenig@baylibre.com> @ 2026-05-07 15:10 ` Uwe Kleine-König 0 siblings, 0 replies; only message in thread From: Uwe Kleine-König @ 2026-05-07 15:10 UTC (permalink / raw) To: linux-pwm; +Cc: Markus Schneider-Pargmann, linux-kernel [-- Attachment #1: Type: text/plain, Size: 919 bytes --] Hello, On Mon, May 04, 2026 at 10:55:35AM +0200, Uwe Kleine-König (The Capable Hub) wrote: > The .driver_data member in the various struct pci_device_id arrays were > initialized by list expressions. This isn't easily readable if you're > not into PCI. Using named initializers is more explicit and thus easier > to parse. > > The secret plan is to make struct pci_device_id::driver_data an > anonymous union (similar to > https://lore.kernel.org/all/cover.1776579304.git.u.kleine-koenig@baylibre.com/) > and that requires named initializers. But it's also a nice cleanup on > its own. > > This change doesn't introduce changes to the compiled pci_device_id > arrays. Tested on x86 and arm64. > > Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next . Best regards Uwe [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-07 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260504085535.1914668-2-u.kleine-koenig@baylibre.com>
2026-05-07 15:10 ` [PATCH] pwm: Consistently define pci_device_ids using named initializers Uwe Kleine-König
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox