Skip to content

Commit 217188d

Browse files
committed
video: fbdev: 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 f467c56 ("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. ... Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
1 parent ca6d73f commit 217188d

File tree

4 files changed

+0
-37
lines changed

4 files changed

+0
-37
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ menuconfig FB
4747
config FIRMWARE_EDID
4848
bool "Enable firmware EDID"
4949
depends on FB
50-
default n
5150
---help---
5251
This enables access to the EDID transferred from the firmware.
5352
On the i386, this is from the Video BIOS. Enable this if DDC/I2C
@@ -65,20 +64,17 @@ config FB_DDC
6564
depends on FB
6665
select I2C_ALGOBIT
6766
select I2C
68-
default n
6967

7068
config FB_BOOT_VESA_SUPPORT
7169
bool
7270
depends on FB
73-
default n
7471
---help---
7572
If true, at least one selected framebuffer driver can take advantage
7673
of VESA video modes set at an early boot stage via the vga= parameter.
7774

7875
config FB_CFB_FILLRECT
7976
tristate
8077
depends on FB
81-
default n
8278
---help---
8379
Include the cfb_fillrect function for generic software rectangle
8480
filling. This is used by drivers that don't provide their own
@@ -87,7 +83,6 @@ config FB_CFB_FILLRECT
8783
config FB_CFB_COPYAREA
8884
tristate
8985
depends on FB
90-
default n
9186
---help---
9287
Include the cfb_copyarea function for generic software area copying.
9388
This is used by drivers that don't provide their own (accelerated)
@@ -96,7 +91,6 @@ config FB_CFB_COPYAREA
9691
config FB_CFB_IMAGEBLIT
9792
tristate
9893
depends on FB
99-
default n
10094
---help---
10195
Include the cfb_imageblit function for generic software image
10296
blitting. This is used by drivers that don't provide their own
@@ -105,7 +99,6 @@ config FB_CFB_IMAGEBLIT
10599
config FB_CFB_REV_PIXELS_IN_BYTE
106100
bool
107101
depends on FB
108-
default n
109102
---help---
110103
Allow generic frame-buffer functions to work on displays with 1, 2
111104
and 4 bits per pixel depths which has opposite order of pixels in
@@ -114,7 +107,6 @@ config FB_CFB_REV_PIXELS_IN_BYTE
114107
config FB_SYS_FILLRECT
115108
tristate
116109
depends on FB
117-
default n
118110
---help---
119111
Include the sys_fillrect function for generic software rectangle
120112
filling. This is used by drivers that don't provide their own
@@ -123,7 +115,6 @@ config FB_SYS_FILLRECT
123115
config FB_SYS_COPYAREA
124116
tristate
125117
depends on FB
126-
default n
127118
---help---
128119
Include the sys_copyarea function for generic software area copying.
129120
This is used by drivers that don't provide their own (accelerated)
@@ -132,7 +123,6 @@ config FB_SYS_COPYAREA
132123
config FB_SYS_IMAGEBLIT
133124
tristate
134125
depends on FB
135-
default n
136126
---help---
137127
Include the sys_imageblit function for generic software image
138128
blitting. This is used by drivers that don't provide their own
@@ -141,7 +131,6 @@ config FB_SYS_IMAGEBLIT
141131
config FB_PROVIDE_GET_FB_UNMAPPED_AREA
142132
bool
143133
depends on FB
144-
default n
145134
---help---
146135
Allow generic frame-buffer to provide get_fb_unmapped_area
147136
function.
@@ -173,7 +162,6 @@ endchoice
173162
config FB_SYS_FOPS
174163
tristate
175164
depends on FB
176-
default n
177165

178166
config FB_DEFERRED_IO
179167
bool
@@ -187,27 +175,23 @@ config FB_HECUBA
187175
config FB_SVGALIB
188176
tristate
189177
depends on FB
190-
default n
191178
---help---
192179
Common utility functions useful to fbdev drivers of VGA-based
193180
cards.
194181

195182
config FB_MACMODES
196183
tristate
197184
depends on FB
198-
default n
199185

200186
config FB_BACKLIGHT
201187
bool
202188
depends on FB
203189
select BACKLIGHT_LCD_SUPPORT
204190
select BACKLIGHT_CLASS_DEVICE
205-
default n
206191

207192
config FB_MODE_HELPERS
208193
bool "Enable Video Mode Handling Helpers"
209194
depends on FB
210-
default n
211195
---help---
212196
This enables functions for handling video modes using the
213197
Generalized Timing Formula and the EDID parser. A few drivers rely
@@ -218,7 +202,6 @@ config FB_MODE_HELPERS
218202
config FB_TILEBLITTING
219203
bool "Enable Tile Blitting Support"
220204
depends on FB
221-
default n
222205
---help---
223206
This enables tile blitting. Tile blitting is a drawing technique
224207
where the screen is divided into rectangular sections (tiles), whereas
@@ -929,7 +912,6 @@ config FB_NVIDIA_I2C
929912
config FB_NVIDIA_DEBUG
930913
bool "Lots of debug output"
931914
depends on FB_NVIDIA
932-
default n
933915
help
934916
Say Y here if you want the nVidia driver to output all sorts
935917
of debugging information to provide to the maintainer when
@@ -976,7 +958,6 @@ config FB_RIVA_I2C
976958
config FB_RIVA_DEBUG
977959
bool "Lots of debug output"
978960
depends on FB_RIVA
979-
default n
980961
help
981962
Say Y here if you want the Riva driver to output all sorts
982963
of debugging information to provide to the maintainer when
@@ -1259,7 +1240,6 @@ config FB_RADEON_BACKLIGHT
12591240
config FB_RADEON_DEBUG
12601241
bool "Lots of debug output from Radeon driver"
12611242
depends on FB_RADEON
1262-
default n
12631243
help
12641244
Say Y here if you want the Radeon driver to output all sorts
12651245
of debugging information to provide to the maintainer when
@@ -1392,7 +1372,6 @@ config FB_SAVAGE_I2C
13921372
config FB_SAVAGE_ACCEL
13931373
bool "Enable Console Acceleration"
13941374
depends on FB_SAVAGE
1395-
default n
13961375
help
13971376
This option will compile in console acceleration support. If
13981377
the resulting framebuffer console has bothersome glitches, then
@@ -1449,7 +1428,6 @@ if FB_VIA
14491428

14501429
config FB_VIA_DIRECT_PROCFS
14511430
bool "direct hardware access via procfs (DEPRECATED)(DANGEROUS)"
1452-
default n
14531431
help
14541432
Allow direct hardware access to some output registers via procfs.
14551433
This is dangerous but may provide the only chance to get the
@@ -1458,7 +1436,6 @@ config FB_VIA_DIRECT_PROCFS
14581436

14591437
config FB_VIA_X_COMPATIBILITY
14601438
bool "X server compatibility"
1461-
default n
14621439
help
14631440
This option reduces the functionality (power saving, ...) of the
14641441
framebuffer to avoid negative impact on the OpenChrome X server.
@@ -1683,7 +1660,6 @@ config FB_WM8505
16831660
config FB_WMT_GE_ROPS
16841661
bool "VT8500/WM8xxx accelerated raster ops support"
16851662
depends on (FB = y) && (FB_VT8500 || FB_WM8505)
1686-
default n
16871663
help
16881664
This adds support for accelerated raster operations on the
16891665
VIA VT8500 and Wondermedia 85xx series SoCs.
@@ -1793,17 +1769,14 @@ config FB_PXA
17931769

17941770
config FB_PXA_OVERLAY
17951771
bool "Support PXA27x/PXA3xx Overlay(s) as framebuffer"
1796-
default n
17971772
depends on FB_PXA && (PXA27x || PXA3xx)
17981773

17991774
config FB_PXA_SMARTPANEL
18001775
bool "PXA Smartpanel LCD support"
1801-
default n
18021776
depends on FB_PXA
18031777

18041778
config FB_PXA_PARAMETERS
18051779
bool "PXA LCD command line parameters"
1806-
default n
18071780
depends on FB_PXA
18081781
---help---
18091782
Enable the use of kernel command line or module parameters
@@ -1841,7 +1814,6 @@ config FB_MBX
18411814
config FB_MBX_DEBUG
18421815
bool "Enable debugging info via debugfs"
18431816
depends on FB_MBX && DEBUG_FS
1844-
default n
18451817
---help---
18461818
Enable this if you want debugging information using the debug
18471819
filesystem (debugfs)

drivers/video/fbdev/mmp/hw/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ if MMP_DISP
33
config MMP_DISP_CONTROLLER
44
bool "mmp display controller hw support"
55
depends on CPU_PXA910 || CPU_MMP2
6-
default n
76
help
87
Marvell MMP display hw controller support
98
this controller is used on Marvell PXA910 and

drivers/video/fbdev/mmp/panel/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
config MMP_PANEL_TPOHVGA
33
bool "tpohvga panel TJ032MD01BW support"
44
depends on SPI_MASTER
5-
default n
65
help
76
tpohvga panel support

drivers/video/fbdev/omap2/omapfb/dss/Kconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config FB_OMAP2_DSS
1010

1111
config FB_OMAP2_DSS_DEBUG
1212
bool "Debug support"
13-
default n
1413
help
1514
This enables printing of debug messages. Alternatively, debug messages
1615
can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
@@ -19,7 +18,6 @@ config FB_OMAP2_DSS_DEBUG
1918
config FB_OMAP2_DSS_DEBUGFS
2019
bool "Debugfs filesystem support"
2120
depends on DEBUG_FS
22-
default n
2321
help
2422
This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
2523
querying about clock configuration and register configuration of dss,
@@ -28,7 +26,6 @@ config FB_OMAP2_DSS_DEBUGFS
2826
config FB_OMAP2_DSS_COLLECT_IRQ_STATS
2927
bool "Collect DSS IRQ statistics"
3028
depends on FB_OMAP2_DSS_DEBUGFS
31-
default n
3229
help
3330
Collect DSS IRQ statistics, printable via debugfs.
3431

@@ -45,7 +42,6 @@ config FB_OMAP2_DSS_DPI
4542
config FB_OMAP2_DSS_RFBI
4643
bool "RFBI support"
4744
depends on BROKEN
48-
default n
4945
help
5046
MIPI DBI support (RFBI, Remote Framebuffer Interface, in Texas
5147
Instrument's terminology).
@@ -73,7 +69,6 @@ config FB_OMAP4_DSS_HDMI
7369

7470
config FB_OMAP5_DSS_HDMI
7571
bool "HDMI support for OMAP5"
76-
default n
7772
select FB_OMAP2_DSS_HDMI_COMMON
7873
help
7974
HDMI Interface for OMAP5 and similar cores. This adds the High
@@ -82,7 +77,6 @@ config FB_OMAP5_DSS_HDMI
8277

8378
config FB_OMAP2_DSS_SDI
8479
bool "SDI support"
85-
default n
8680
help
8781
SDI (Serial Display Interface) support.
8882

@@ -91,7 +85,6 @@ config FB_OMAP2_DSS_SDI
9185

9286
config FB_OMAP2_DSS_DSI
9387
bool "DSI support"
94-
default n
9588
help
9689
MIPI DSI (Display Serial Interface) support.
9790

0 commit comments

Comments
 (0)