net: hns3: use dev_driver_string() instead of pci_dev->driver->name
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 12 Oct 2021 22:52:59 +0000 (17:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Oct 2021 23:20:00 +0000 (18:20 -0500)
commite519d9ea62e821659d68c2f1f4d8a5c33ea70db5
tree9281d1b5f6adca0f21345e3a09ebd04092f94525
parent1fbbcffd0ee1f9fc0a10be311e078c4f37f6c733
net: hns3: 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>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c