From ed26b957467871d8a3ec84c31748ef25afb37052 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Wed, 7 Mar 2018 10:46:25 +0100 Subject: [PATCH] drivers/gpio: Removing dts generated options in QMSI Kconfig Now that all arch using QMSI gpio driver are generating the right settings through DTS, these options can be removed from Kconfig. Signed-off-by: Tomasz Bursztyka --- .../quark_d2000/Kconfig.defconfig.series | 1 + drivers/gpio/Kconfig.qmsi | 44 ------------------- 2 files changed, 1 insertion(+), 44 deletions(-) diff --git a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series index b7aa6ce5a98..bf2c9c0cc64 100644 --- a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series +++ b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series @@ -80,6 +80,7 @@ config GPIO_QMSI config GPIO_QMSI_0 def_bool y config GPIO_QMSI_0_IRQ_PRI + int default 0 endif # GPIO diff --git a/drivers/gpio/Kconfig.qmsi b/drivers/gpio/Kconfig.qmsi index c057ba9d0ca..3ec86ceba4c 100644 --- a/drivers/gpio/Kconfig.qmsi +++ b/drivers/gpio/Kconfig.qmsi @@ -48,34 +48,12 @@ config GPIO_QMSI_0 help Include support for the GPIO port 0 using QMSI. -config GPIO_QMSI_0_NAME - string "Driver name" - depends on GPIO_QMSI_0 && !HAS_DTS - default "GPIO_0" - -config GPIO_QMSI_0_IRQ_PRI - int "Controller interrupt priority" - depends on GPIO_QMSI_0 && !HAS_DTS - help - IRQ priority - config GPIO_QMSI_1 bool "QMSI GPIO block 1" default n help Include support for the GPIO port 1 using QMSI. -config GPIO_QMSI_1_NAME - string "Driver name" - depends on GPIO_QMSI_1 && !HAS_DTS - default "GPIO_1" - -config GPIO_QMSI_1_IRQ_PRI - int "Controller interrupt priority" - depends on GPIO_QMSI_1 && !HAS_DTS - help - IRQ priority - endif # GPIO_QMSI if GPIO_QMSI_SS @@ -86,34 +64,12 @@ config GPIO_QMSI_SS_0 help Include support for the GPIO SS port 0 using QMSI. -config GPIO_QMSI_SS_0_NAME - string "Driver name" - depends on GPIO_QMSI_SS_0 && !HAS_DTS - default "GPIO_SS_0" - -config GPIO_QMSI_SS_0_IRQ_PRI - int "Controller interrupt priority" - depends on GPIO_QMSI_SS_0 && !HAS_DTS - help - IRQ priority - config GPIO_QMSI_SS_1 bool "QMSI GPIO SS block 1" default n help Include support for the GPIO SS port 1 using QMSI. -config GPIO_QMSI_SS_1_NAME - string "Driver name" - depends on GPIO_QMSI_SS_1 && !HAS_DTS - default "GPIO_SS_1" - -config GPIO_QMSI_SS_1_IRQ_PRI - int "Controller interrupt priority" - depends on GPIO_QMSI_SS_1 && !HAS_DTS - help - IRQ priority - endif # GPIO_QMSI_SS endif # GPIO_QMSI || GPIO_QMSI_SS