usb: pci: Use pci_find_class() to find the device
authorSimon Glass <sjg@chromium.org>
Wed, 28 Jan 2015 05:13:30 +0000 (22:13 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 05:16:42 +0000 (22:16 -0700)
commit4fd46727e4e5d5cf58bceac0be5a33fa4196435e
tree2e9060234e06a9ff64476b8ab4b0f671dacf6c71
parent82c2566bd3db81f77945f26a9b7546da3567e3b4
usb: pci: Use pci_find_class() to find the device

Use the new utility function instead of local code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/ehci-pci.c