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)
commit9e16b8d68a29a67571ca015faae401ef41e36159
treee56c3ab416f24c320d6095e6192bf4a08e6a9ab4
parentf20c4ea49ec4708de97248927ac6138c2d14eba9
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