[PATCH v2 5/6] PCI: Adapt all code locations to not use struct pci_dev::driver directly
Andy Shevchenko
andriy.shevchenko at intel.com
Wed Aug 4 00:38:57 AEST 2021
On Tue, Aug 03, 2021 at 12:01:49PM +0200, Uwe Kleine-König wrote:
> This prepares removing the driver member of struct pci_dev which holds the
> same information than struct pci_dev::dev->driver.
...
> + struct pci_driver *pdrv;
Missed blank line here and everywhere else. I don't remember if it's a
checkpatch who complains on this.
> + return (pdev && (pdrv = pci_driver_of_dev(pdev))) ? pdrv->name : "<null>";
--
With Best Regards,
Andy Shevchenko
More information about the Linuxppc-dev
mailing list