[PATCH v6 07/11] PCI: Replace pci_dev::driver usage that gets the driver name

Ido Schimmel idosch at idosch.org
Tue Oct 5 03:06:38 AEDT 2021


On Mon, Oct 04, 2021 at 02:59:31PM +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.
> 
> Acked-by: Simon Horman <simon.horman at corigine.com> (for NFP)
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

For mlxsw:

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

Tested with the kexec flow that I mentioned last time. Works fine now.

Thanks


More information about the Linuxppc-dev mailing list