# Re: \[PATCH v4 4/8\] PCI: replace pci\_dev::driver usage that gets the driver name

- List: linuxppc-dev
- 1 message, 1 author
- Page: https://ratatoskr.run/linuxppc-dev/2021/09/1524163/t

## Re: \[PATCH v4 4/8\] PCI: replace pci\_dev::driver usage that gets the driver name

- From: Kalle Valo \<hidden\>
- Date: 2021-09-28 08:28:44 
- Message: https://ratatoskr.run/linuxppc-dev/2021/09/1524163.md

```text
Uwe Kleine-König [ref] writes:

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

For bcma:

Acked-by: Kalle Valo <redacted>

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

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