]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: use dev_driver_string() instead of pci_dev->driver->name
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 12 Oct 2021 22:55:03 +0000 (17:55 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Oct 2021 23:20:15 +0000 (18:20 -0500)
commitace522a9f9d3081320278713a9c1734b0786ed00
tree09a25bf2097048d1668ab16072bde79512975dce
parentffd89df3c5dce380e722bcfeec621320d385b95f
nfp: use dev_driver_string() instead of pci_dev->driver->name

Replace dev->driver_name() by dev_driver_string() for the corresponding
struct device.  This is a step toward removing pci_dev->driver.

[bhelgaas: split to separate patch]
Link: https://lore.kernel.org/r/20211004125935.2300113-8-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c