Re: [PATCH v4 4/8] PCI: replace pci_dev::driver usage that gets the driver name

From: Kalle Valo
Date: Tue Sep 28 2021 - 04:28:44 EST


Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> writes:

> From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
>
> struct pci_dev::driver holds (apart from a constant offset) the same
> data as struct pci_dev::dev->driver. With the goal to remove struct
> pci_dev::driver to get rid of data duplication replace getting the
> driver name by dev_driver_string() which implicitly makes use of struct
> pci_dev::dev->driver.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
> arch/powerpc/include/asm/ppc-pci.h | 9 ++++++++-
> drivers/bcma/host_pci.c | 7 ++++---

For bcma:

Acked-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches