usb: host: xhci-plat: Use dev_is_pci() helper
authorNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Wed, 5 Apr 2023 23:46:05 +0000 (08:46 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 08:13:12 +0000 (10:13 +0200)
commitf3588ea40aa17273c3303789b1828b3aa6b80748
tree878b68655d72ebbde3165336c92b33433cf4a94c
parent735baf1b23458f71a8b15cb924af22c9ff9cd125
usb: host: xhci-plat: Use dev_is_pci() helper

Use common dev_is_pci() helper for checking PCI devices.
And if CONFIG_PCI is not defined, dev_is_pci returns false. Therefore,
CONFIG_PCI is also unnecessary, so remove it.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Link: https://lore.kernel.org/r/20230405234605.2310155-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c