]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: mt7621-pci: remove unnecessary check of device_type == pci
authorRob Herring <robh@kernel.org>
Wed, 29 Aug 2018 18:34:03 +0000 (13:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 08:38:17 +0000 (10:38 +0200)
commit7e33f3850c53e10704990f21a160705474f72f43
tree6267ada5f9f72d6a93d13093f7c887557d95edb9
parent13b72b089b9c9520a6ebeb388436a9ee14322279
staging: mt7621-pci: remove unnecessary check of device_type == pci

PCI host drivers have already matched on compatible strings, so checking
device_type is redundant. Also, device_type is considered deprecated for
FDT though we've still been requiring it for PCI hosts as it is useful
for finding PCI buses.

Cc: devel@driverdev.osuosl.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c