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

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

Furthermore, there is no need to repeat menu dependencies (PCI).

Clean up the users of PCIE_DW_HOST and introduce idiom

depends on PCI_MSI_IRQ_DOMAIN
select PCIE_DW_HOST

for all of them.

Link: https://lore.kernel.org/r/20210623140103.47818-1-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