Re: [PATCH v2 5/6] PCI: Adapt all code locations to not use struct pci_dev::driver directly

From: Andy Shevchenko
Date: Tue Aug 03 2021 - 10:39:32 EST


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