summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-05-20 10:10:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-24 12:00:41 -0400
commitdc3e0aa5c58db4089a42f02a3d928f718e7dc6e8 (patch)
tree849bfaf584deb76262d4344d3d33e38654622451
parentb728ddde769c568c49f42468114eb801e0a93ce9 (diff)
misc: remove redundant 'default n' from Kconfig-s
'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not: ... One side effect of (and the main motivation for) this change is making the following two definitions behave exactly the same: config FOO bool config FOO bool default n With this change, neither of these will generate a '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied). That might make it clearer to people that a bare 'default n' is redundant. ... Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Frederic Barrat <fbarrat@linux.ibm.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/Kconfig10
-rw-r--r--drivers/misc/altera-stapl/Kconfig1
-rw-r--r--drivers/misc/c2port/Kconfig2
-rw-r--r--drivers/misc/cb710/Kconfig1
-rw-r--r--drivers/misc/cxl/Kconfig3
-rw-r--r--drivers/misc/echo/Kconfig1
-rw-r--r--drivers/misc/genwqe/Kconfig1
-rw-r--r--drivers/misc/lis3lv02d/Kconfig2
-rw-r--r--drivers/misc/ocxl/Kconfig1
9 files changed, 0 insertions, 22 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 6a0365b2332c..3fa4adeaf8a2 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -8,7 +8,6 @@ config SENSORS_LIS3LV02D
8 tristate 8 tristate
9 depends on INPUT 9 depends on INPUT
10 select INPUT_POLLDEV 10 select INPUT_POLLDEV
11 default n
12 11
13config AD525X_DPOT 12config AD525X_DPOT
14 tristate "Analog Devices Digital Potentiometers" 13 tristate "Analog Devices Digital Potentiometers"
@@ -61,7 +60,6 @@ config ATMEL_TCLIB
61 60
62config DUMMY_IRQ 61config DUMMY_IRQ
63 tristate "Dummy IRQ handler" 62 tristate "Dummy IRQ handler"
64 default n
65 ---help--- 63 ---help---
66 This module accepts a single 'irq' parameter, which it should register for. 64 This module accepts a single 'irq' parameter, which it should register for.
67 The sole purpose of this module is to help with debugging of systems on 65 The sole purpose of this module is to help with debugging of systems on
@@ -117,7 +115,6 @@ config PHANTOM
117config INTEL_MID_PTI 115config INTEL_MID_PTI
118 tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" 116 tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard"
119 depends on PCI && TTY && (X86_INTEL_MID || COMPILE_TEST) 117 depends on PCI && TTY && (X86_INTEL_MID || COMPILE_TEST)
120 default n
121 help 118 help
122 The PTI (Parallel Trace Interface) driver directs 119 The PTI (Parallel Trace Interface) driver directs
123 trace data routed from various parts in the system out 120 trace data routed from various parts in the system out
@@ -193,7 +190,6 @@ config ATMEL_SSC
193 190
194config ENCLOSURE_SERVICES 191config ENCLOSURE_SERVICES
195 tristate "Enclosure Services" 192 tristate "Enclosure Services"
196 default n
197 help 193 help
198 Provides support for intelligent enclosures (bays which 194 Provides support for intelligent enclosures (bays which
199 contain storage devices). You also need either a host 195 contain storage devices). You also need either a host
@@ -217,7 +213,6 @@ config SGI_XP
217config CS5535_MFGPT 213config CS5535_MFGPT
218 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support" 214 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support"
219 depends on MFD_CS5535 215 depends on MFD_CS5535
220 default n
221 help 216 help
222 This driver provides access to MFGPT functionality for other 217 This driver provides access to MFGPT functionality for other
223 drivers that need timers. MFGPTs are available in the CS5535 and 218 drivers that need timers. MFGPTs are available in the CS5535 and
@@ -250,7 +245,6 @@ config CS5535_CLOCK_EVENT_SRC
250config HP_ILO 245config HP_ILO
251 tristate "Channel interface driver for the HP iLO processor" 246 tristate "Channel interface driver for the HP iLO processor"
252 depends on PCI 247 depends on PCI
253 default n
254 help 248 help
255 The channel interface driver allows applications to communicate 249 The channel interface driver allows applications to communicate
256 with iLO management processors present on HP ProLiant servers. 250 with iLO management processors present on HP ProLiant servers.
@@ -285,7 +279,6 @@ config QCOM_FASTRPC
285config SGI_GRU 279config SGI_GRU
286 tristate "SGI GRU driver" 280 tristate "SGI GRU driver"
287 depends on X86_UV && SMP 281 depends on X86_UV && SMP
288 default n
289 select MMU_NOTIFIER 282 select MMU_NOTIFIER
290 ---help--- 283 ---help---
291 The GRU is a hardware resource located in the system chipset. The GRU 284 The GRU is a hardware resource located in the system chipset. The GRU
@@ -300,7 +293,6 @@ config SGI_GRU
300config SGI_GRU_DEBUG 293config SGI_GRU_DEBUG
301 bool "SGI GRU driver debug" 294 bool "SGI GRU driver debug"
302 depends on SGI_GRU 295 depends on SGI_GRU
303 default n
304 ---help--- 296 ---help---
305 This option enables additional debugging code for the SGI GRU driver. 297 This option enables additional debugging code for the SGI GRU driver.
306 If you are unsure, say N. 298 If you are unsure, say N.
@@ -358,7 +350,6 @@ config SENSORS_BH1770
358config SENSORS_APDS990X 350config SENSORS_APDS990X
359 tristate "APDS990X combined als and proximity sensors" 351 tristate "APDS990X combined als and proximity sensors"
360 depends on I2C 352 depends on I2C
361 default n
362 ---help--- 353 ---help---
363 Say Y here if you want to build a driver for Avago APDS990x 354 Say Y here if you want to build a driver for Avago APDS990x
364 combined ambient light and proximity sensor chip. 355 combined ambient light and proximity sensor chip.
@@ -386,7 +377,6 @@ config DS1682
386config SPEAR13XX_PCIE_GADGET 377config SPEAR13XX_PCIE_GADGET
387 bool "PCIe gadget support for SPEAr13XX platform" 378 bool "PCIe gadget support for SPEAr13XX platform"
388 depends on ARCH_SPEAR13XX && BROKEN 379 depends on ARCH_SPEAR13XX && BROKEN
389 default n
390 help 380 help
391 This option enables gadget support for PCIe controller. If 381 This option enables gadget support for PCIe controller. If
392 board file defines any controller as PCIe endpoint then a sysfs 382 board file defines any controller as PCIe endpoint then a sysfs
diff --git a/drivers/misc/altera-stapl/Kconfig b/drivers/misc/altera-stapl/Kconfig
index 8a828fe41fad..24915e776d9b 100644
--- a/drivers/misc/altera-stapl/Kconfig
+++ b/drivers/misc/altera-stapl/Kconfig
@@ -4,6 +4,5 @@ comment "Altera FPGA firmware download module (requires I2C)"
4config ALTERA_STAPL 4config ALTERA_STAPL
5 tristate "Altera FPGA firmware download module" 5 tristate "Altera FPGA firmware download module"
6 depends on I2C 6 depends on I2C
7 default n
8 help 7 help
9 An Altera FPGA module. Say Y when you want to support this tool. 8 An Altera FPGA module. Say Y when you want to support this tool.
diff --git a/drivers/misc/c2port/Kconfig b/drivers/misc/c2port/Kconfig
index 0dd690e61d3c..9c4753789850 100644
--- a/drivers/misc/c2port/Kconfig
+++ b/drivers/misc/c2port/Kconfig
@@ -4,7 +4,6 @@
4 4
5menuconfig C2PORT 5menuconfig C2PORT
6 tristate "Silicon Labs C2 port support" 6 tristate "Silicon Labs C2 port support"
7 default n
8 help 7 help
9 This option enables support for Silicon Labs C2 port used to 8 This option enables support for Silicon Labs C2 port used to
10 program Silicon micro controller chips (and other 8051 compatible). 9 program Silicon micro controller chips (and other 8051 compatible).
@@ -23,7 +22,6 @@ if C2PORT
23config C2PORT_DURAMAR_2150 22config C2PORT_DURAMAR_2150
24 tristate "C2 port support for Eurotech's Duramar 2150" 23 tristate "C2 port support for Eurotech's Duramar 2150"
25 depends on X86 24 depends on X86
26 default n
27 help 25 help
28 This option enables C2 support for the Eurotech's Duramar 2150 26 This option enables C2 support for the Eurotech's Duramar 2150
29 on board micro controller. 27 on board micro controller.
diff --git a/drivers/misc/cb710/Kconfig b/drivers/misc/cb710/Kconfig
index 22429b8b1068..2015a3e5c6c1 100644
--- a/drivers/misc/cb710/Kconfig
+++ b/drivers/misc/cb710/Kconfig
@@ -14,7 +14,6 @@ config CB710_CORE
14config CB710_DEBUG 14config CB710_DEBUG
15 bool "Enable driver debugging" 15 bool "Enable driver debugging"
16 depends on CB710_CORE != n 16 depends on CB710_CORE != n
17 default n
18 help 17 help
19 This is an option for use by developers; most people should 18 This is an option for use by developers; most people should
20 say N here. This adds a lot of debugging output to dmesg. 19 say N here. This adds a lot of debugging output to dmesg.
diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
index 3ce933707828..838fc161bac9 100644
--- a/drivers/misc/cxl/Kconfig
+++ b/drivers/misc/cxl/Kconfig
@@ -4,16 +4,13 @@
4 4
5config CXL_BASE 5config CXL_BASE
6 bool 6 bool
7 default n
8 select PPC_COPRO_BASE 7 select PPC_COPRO_BASE
9 8
10config CXL_AFU_DRIVER_OPS 9config CXL_AFU_DRIVER_OPS
11 bool 10 bool
12 default n
13 11
14config CXL_LIB 12config CXL_LIB
15 bool 13 bool
16 default n
17 14
18config CXL 15config CXL
19 tristate "Support for IBM Coherent Accelerators (CXL)" 16 tristate "Support for IBM Coherent Accelerators (CXL)"
diff --git a/drivers/misc/echo/Kconfig b/drivers/misc/echo/Kconfig
index f1d41ea9cd48..004233587137 100644
--- a/drivers/misc/echo/Kconfig
+++ b/drivers/misc/echo/Kconfig
@@ -1,6 +1,5 @@
1config ECHO 1config ECHO
2 tristate "Line Echo Canceller support" 2 tristate "Line Echo Canceller support"
3 default n
4 ---help--- 3 ---help---
5 This driver provides line echo cancelling support for mISDN and 4 This driver provides line echo cancelling support for mISDN and
6 Zaptel drivers. 5 Zaptel drivers.
diff --git a/drivers/misc/genwqe/Kconfig b/drivers/misc/genwqe/Kconfig
index 4c0a033cbfdb..e12808073355 100644
--- a/drivers/misc/genwqe/Kconfig
+++ b/drivers/misc/genwqe/Kconfig
@@ -6,7 +6,6 @@ menuconfig GENWQE
6 tristate "GenWQE PCIe Accelerator" 6 tristate "GenWQE PCIe Accelerator"
7 depends on PCI && 64BIT 7 depends on PCI && 64BIT
8 select CRC_ITU_T 8 select CRC_ITU_T
9 default n
10 help 9 help
11 Enables PCIe card driver for IBM GenWQE accelerators. 10 Enables PCIe card driver for IBM GenWQE accelerators.
12 The user-space interface is described in 11 The user-space interface is described in
diff --git a/drivers/misc/lis3lv02d/Kconfig b/drivers/misc/lis3lv02d/Kconfig
index 8f474e6fc7b4..92222bafd346 100644
--- a/drivers/misc/lis3lv02d/Kconfig
+++ b/drivers/misc/lis3lv02d/Kconfig
@@ -6,7 +6,6 @@ config SENSORS_LIS3_SPI
6 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" 6 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
7 depends on !ACPI && SPI_MASTER && INPUT 7 depends on !ACPI && SPI_MASTER && INPUT
8 select SENSORS_LIS3LV02D 8 select SENSORS_LIS3LV02D
9 default n
10 help 9 help
11 This driver provides support for the LIS3LV02Dx accelerometer connected 10 This driver provides support for the LIS3LV02Dx accelerometer connected
12 via SPI. The accelerometer data is readable via 11 via SPI. The accelerometer data is readable via
@@ -23,7 +22,6 @@ config SENSORS_LIS3_I2C
23 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)" 22 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
24 depends on I2C && INPUT 23 depends on I2C && INPUT
25 select SENSORS_LIS3LV02D 24 select SENSORS_LIS3LV02D
26 default n
27 help 25 help
28 This driver provides support for the LIS3LV02Dx accelerometer connected 26 This driver provides support for the LIS3LV02Dx accelerometer connected
29 via I2C. The accelerometer data is readable via 27 via I2C. The accelerometer data is readable via
diff --git a/drivers/misc/ocxl/Kconfig b/drivers/misc/ocxl/Kconfig
index 4bbdb0d3c8ee..84ec15fb7456 100644
--- a/drivers/misc/ocxl/Kconfig
+++ b/drivers/misc/ocxl/Kconfig
@@ -4,7 +4,6 @@
4 4
5config OCXL_BASE 5config OCXL_BASE
6 bool 6 bool
7 default n
8 select PPC_COPRO_BASE 7 select PPC_COPRO_BASE
9 8
10config OCXL 9config OCXL