# Re: \[PATCH v5 07/11\] PCI: Replace pci\_dev::driver usage that gets the driver name

- From: Ido Schimmel \<idosch@nvidia.com\>
- Date: 2021-09-29 14:45:07 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/09/1525895
- Thread: https://ratatoskr.run/linux-pci/2021/09/1525586/t.md

```text
On Wed, Sep 29, 2021 at 10:53:02AM +0200, Uwe Kleine-König wrote:
> 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>

For mlxsw:

Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>

Thanks
```
