From 38185db8fdf75af9051ce6ffd09eb0f37ed8575d Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 27 Jun 2018 13:41:29 +0200 Subject: [PATCH] drivers: display: Kconfig: Remove redundant 'default n' properties Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though, and is inconsistent. This will make the auto-generated Kconfig documentation have "No defaults. Implicitly defaults to n." as well, which is clearer than 'default n if ...' Signed-off-by: Ulf Magnusson --- drivers/display/Kconfig | 1 - drivers/display/Kconfig.ili9340 | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/display/Kconfig b/drivers/display/Kconfig index dc2d7beb200..83430cde66e 100644 --- a/drivers/display/Kconfig +++ b/drivers/display/Kconfig @@ -9,7 +9,6 @@ menuconfig DISPLAY bool prompt "Display Drivers" - default n help Enable display drivers diff --git a/drivers/display/Kconfig.ili9340 b/drivers/display/Kconfig.ili9340 index 0488e34324a..6676ccbc74e 100644 --- a/drivers/display/Kconfig.ili9340 +++ b/drivers/display/Kconfig.ili9340 @@ -9,7 +9,6 @@ menuconfig ILI9340 bool "ILI9340 display driver" depends on SPI - default n help Enable driver for ILI9340 display driver. @@ -79,7 +78,6 @@ config ILI9340_CMD_DATA_PIN config ILI9340_GPIO_CS bool "Use GPIO pin for chip select" - default n help Use GPIO pin for chips select.