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

Kalle Valo
2021-09-28T08:28:43Z

Uwe Kleine-König <uwe@kleine-koenig.org> writes:

> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
>
> 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@pengutronix.de>
> ---
> arch/powerpc/include/asm/ppc-pci.h | 9 ++++++++-
> drivers/bcma/host_pci.c | 7 ++++---

For bcma:

Acked-by: Kalle Valo <kvalo@codeaurora.org>

--