From a9490541d6d5bb32ce9ded933a656cc2ebb4aab2 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 7 Aug 2019 05:07:51 +0200 Subject: [PATCH] drivers: espi: kconfig: Remove redundant ESPI_PERIPHERAL_CHANNEL deps. The ESPI_PERIPHERAL_* symbols are surrounded by an 'if ESPI_PERIPHERAL_CHANNEL' in the same file, so no need to put 'depends on ESPI_PERIPHERAL' on them. 'if' is just a shorthand for 'depends on'. Also remove a redundant 'if ESPI' from ESPI_XEC. drivers/espi/Kconfig.xec is sourced within an 'if ESPI' in drivers/espi/Kconfig. Signed-off-by: Ulf Magnusson --- drivers/espi/Kconfig | 5 ----- drivers/espi/Kconfig.xec | 1 - 2 files changed, 6 deletions(-) diff --git a/drivers/espi/Kconfig b/drivers/espi/Kconfig index f722c7a845d..76962172ea5 100644 --- a/drivers/espi/Kconfig +++ b/drivers/espi/Kconfig @@ -58,35 +58,30 @@ if ESPI_PERIPHERAL_CHANNEL config ESPI_PERIPHERAL_UART bool "UART peripheral" - depends on ESPI_PERIPHERAL_CHANNEL default n help Enables UART over eSPI peripheral channel config ESPI_PERIPHERAL_8042_KEYBOARD bool "8042 keyboard peripheral" - depends on ESPI_PERIPHERAL_CHANNEL default n help Enables 8042 keyboard over eSPI peripheral channel config ESPI_PERIPHERAL_HOST_IO bool "Host I/O peripheral" - depends on ESPI_PERIPHERAL_CHANNEL default n help Enables ACPI Host I/O over eSPI peripheral channel config ESPI_PERIPHERAL_PORT_92 bool "Legacy Port 92 peripheral" - depends on ESPI_PERIPHERAL_CHANNEL default n help Enables legacy Port 92 over eSPI peripheral channel config ESPI_PERIPHERAL_DEBUG_PORT_80 bool "Debug Port 80 peripheral" - depends on ESPI_PERIPHERAL_CHANNEL default n help Enables debug Port 80 over eSPI peripheral channel diff --git a/drivers/espi/Kconfig.xec b/drivers/espi/Kconfig.xec index 1a06004a3c8..bca32c6789d 100644 --- a/drivers/espi/Kconfig.xec +++ b/drivers/espi/Kconfig.xec @@ -7,7 +7,6 @@ menuconfig ESPI_XEC bool "XEC Microchip ESPI driver" - depends on ESPI help Enable the Microchip XEC ESPI driver.