]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/DPC: Add local struct device pointers
authorDongdong Liu <liudongdong3@huawei.com>
Sat, 19 Aug 2017 09:07:21 +0000 (17:07 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 24 Aug 2017 16:30:02 +0000 (11:30 -0500)
commit2883ad274210b16fc4c7ff519bac54bef37acc07
treee56c3ab416f24c320d6095e6192bf4a08e6a9ab4
parent90eb3d9fa8c9e7a3da011283bd122915be7ba8d0
PCI/DPC: Add local struct device pointers

Use a local "struct device *dev" for brevity and consistency in DPC driver.
No functional change intended.

Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/pci/pcie/pcie-dpc.c