Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bartlomiej Zolnierkiewicz and committed by
Greg Kroah-Hartman
dc3e0aa5 b728ddde

-22
-10
drivers/misc/Kconfig
··· 8 8 tristate 9 9 depends on INPUT 10 10 select INPUT_POLLDEV 11 - default n 12 11 13 12 config AD525X_DPOT 14 13 tristate "Analog Devices Digital Potentiometers" ··· 60 61 61 62 config DUMMY_IRQ 62 63 tristate "Dummy IRQ handler" 63 - default n 64 64 ---help--- 65 65 This module accepts a single 'irq' parameter, which it should register for. 66 66 The sole purpose of this module is to help with debugging of systems on ··· 115 117 config INTEL_MID_PTI 116 118 tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" 117 119 depends on PCI && TTY && (X86_INTEL_MID || COMPILE_TEST) 118 - default n 119 120 help 120 121 The PTI (Parallel Trace Interface) driver directs 121 122 trace data routed from various parts in the system out ··· 190 193 191 194 config ENCLOSURE_SERVICES 192 195 tristate "Enclosure Services" 193 - default n 194 196 help 195 197 Provides support for intelligent enclosures (bays which 196 198 contain storage devices). You also need either a host ··· 213 217 config CS5535_MFGPT 214 218 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support" 215 219 depends on MFD_CS5535 216 - default n 217 220 help 218 221 This driver provides access to MFGPT functionality for other 219 222 drivers that need timers. MFGPTs are available in the CS5535 and ··· 245 250 config HP_ILO 246 251 tristate "Channel interface driver for the HP iLO processor" 247 252 depends on PCI 248 - default n 249 253 help 250 254 The channel interface driver allows applications to communicate 251 255 with iLO management processors present on HP ProLiant servers. ··· 279 285 config SGI_GRU 280 286 tristate "SGI GRU driver" 281 287 depends on X86_UV && SMP 282 - default n 283 288 select MMU_NOTIFIER 284 289 ---help--- 285 290 The GRU is a hardware resource located in the system chipset. The GRU ··· 293 300 config SGI_GRU_DEBUG 294 301 bool "SGI GRU driver debug" 295 302 depends on SGI_GRU 296 - default n 297 303 ---help--- 298 304 This option enables additional debugging code for the SGI GRU driver. 299 305 If you are unsure, say N. ··· 350 358 config SENSORS_APDS990X 351 359 tristate "APDS990X combined als and proximity sensors" 352 360 depends on I2C 353 - default n 354 361 ---help--- 355 362 Say Y here if you want to build a driver for Avago APDS990x 356 363 combined ambient light and proximity sensor chip. ··· 377 386 config SPEAR13XX_PCIE_GADGET 378 387 bool "PCIe gadget support for SPEAr13XX platform" 379 388 depends on ARCH_SPEAR13XX && BROKEN 380 - default n 381 389 help 382 390 This option enables gadget support for PCIe controller. If 383 391 board file defines any controller as PCIe endpoint then a sysfs
-1
drivers/misc/altera-stapl/Kconfig
··· 4 4 config ALTERA_STAPL 5 5 tristate "Altera FPGA firmware download module" 6 6 depends on I2C 7 - default n 8 7 help 9 8 An Altera FPGA module. Say Y when you want to support this tool.
-2
drivers/misc/c2port/Kconfig
··· 4 4 5 5 menuconfig C2PORT 6 6 tristate "Silicon Labs C2 port support" 7 - default n 8 7 help 9 8 This option enables support for Silicon Labs C2 port used to 10 9 program Silicon micro controller chips (and other 8051 compatible). ··· 22 23 config C2PORT_DURAMAR_2150 23 24 tristate "C2 port support for Eurotech's Duramar 2150" 24 25 depends on X86 25 - default n 26 26 help 27 27 This option enables C2 support for the Eurotech's Duramar 2150 28 28 on board micro controller.
-1
drivers/misc/cb710/Kconfig
··· 14 14 config CB710_DEBUG 15 15 bool "Enable driver debugging" 16 16 depends on CB710_CORE != n 17 - default n 18 17 help 19 18 This is an option for use by developers; most people should 20 19 say N here. This adds a lot of debugging output to dmesg.
-3
drivers/misc/cxl/Kconfig
··· 4 4 5 5 config CXL_BASE 6 6 bool 7 - default n 8 7 select PPC_COPRO_BASE 9 8 10 9 config CXL_AFU_DRIVER_OPS 11 10 bool 12 - default n 13 11 14 12 config CXL_LIB 15 13 bool 16 - default n 17 14 18 15 config CXL 19 16 tristate "Support for IBM Coherent Accelerators (CXL)"
-1
drivers/misc/echo/Kconfig
··· 1 1 config ECHO 2 2 tristate "Line Echo Canceller support" 3 - default n 4 3 ---help--- 5 4 This driver provides line echo cancelling support for mISDN and 6 5 Zaptel drivers.
-1
drivers/misc/genwqe/Kconfig
··· 6 6 tristate "GenWQE PCIe Accelerator" 7 7 depends on PCI && 64BIT 8 8 select CRC_ITU_T 9 - default n 10 9 help 11 10 Enables PCIe card driver for IBM GenWQE accelerators. 12 11 The user-space interface is described in
-2
drivers/misc/lis3lv02d/Kconfig
··· 6 6 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)" 7 7 depends on !ACPI && SPI_MASTER && INPUT 8 8 select SENSORS_LIS3LV02D 9 - default n 10 9 help 11 10 This driver provides support for the LIS3LV02Dx accelerometer connected 12 11 via SPI. The accelerometer data is readable via ··· 22 23 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)" 23 24 depends on I2C && INPUT 24 25 select SENSORS_LIS3LV02D 25 - default n 26 26 help 27 27 This driver provides support for the LIS3LV02Dx accelerometer connected 28 28 via I2C. The accelerometer data is readable via
-1
drivers/misc/ocxl/Kconfig
··· 4 4 5 5 config OCXL_BASE 6 6 bool 7 - default n 8 7 select PPC_COPRO_BASE 9 8 10 9 config OCXL