PCI: dwc: Clean up Kconfig dependencies (PCIE_DW_EP)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 23 Jun 2021 14:01:03 +0000 (17:01 +0300)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 7 Oct 2021 14:55:51 +0000 (15:55 +0100)
commit8faa1d2defb795806cc46c21d16ad01bb37d23c4
treea9ee7777dc0124cd7a8515a59c8111c9dc63b822
parent2908a0d81f5b24081e95219b8bdc5b93a310f537
PCI: dwc: Clean up Kconfig dependencies (PCIE_DW_EP)

The "depends on" Kconfig construct is a no-op in options that
are selected and therefore has no effect. Remove it.

Clean up the users of PCIE_DW_EP and introduce idiom

depends on PCI_ENDPOINT
select PCIE_DW_EP

for all of them.

Link: https://lore.kernel.org/r/20210623140103.47818-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/Kconfig