diff options
| author | Uwe Kleine-König <[email protected]> | 2021-10-04 14:59:29 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-10-12 17:50:12 -0500 |
| commit | 5a72431ec318ed38b02a413b1e4ab934e5d3451e (patch) | |
| tree | b2a4b44d07869cbf6acd73c0cc59f5e223b424b2 /lib/test_fortify/write_overflow-strlcpy.c | |
| parent | 7c3b2c933a916e32e9c8b56074a47c1b3f3e7cbe (diff) | |
powerpc/eeh: Use dev_driver_string() instead of struct pci_dev->driver->name
Replace pdev->driver->name by dev_driver_string() for the corresponding
struct device. This is a step toward removing pci_dev->driver.
Move the function nearer its only user and instead of the ?: operator use a
normal "if" which is more readable.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions