[PATCH v2 0/2] dmaengine: Use named initializers for arrays of pci_device_id

From: Uwe Kleine-König (The Capable Hub)

Date: Thu Jun 11 2026 - 04:07:28 EST


From: Uwe Kleine-König <ukleinek@xxxxxxxxxx>

Hello,

(implicit) v1 of this series was only a single patch, it's archived at
https://lore.kernel.org/all/20260504102008.1996139-2-u.kleine-koenig@xxxxxxxxxxxx .

Andy criticised that the changes to the HSU driver don't fit to the
remaining stuff in that patch. So I put that change in a separate patch.

Andy also suggested to use the PCI_DEVICE_DATA(). I didn't implement that as we
don't agree about this being better. He likes it being compact, I don't like it
as it hides assignments in a macro that I prefer to be explicit.

Best regards
Uwe

Uwe Kleine-König (The Capable Hub) (2):
dmaengine: hsu: Drop unused platform driver data
dmaengine: Consistently define pci_device_ids using named initializers

drivers/dma/amd/ptdma/ptdma-pci.c | 4 ++--
drivers/dma/dw-edma/dw-edma-pcie.c | 2 +-
drivers/dma/dw/pci.c | 22 +++++++++++-----------
drivers/dma/hsu/pci.c | 4 ++--
drivers/dma/pch_dma.c | 26 +++++++++++++-------------
5 files changed, 29 insertions(+), 29 deletions(-)


base-commit: abe651837cb394f76d738a7a747322fca3bf17ba
--
2.47.3