]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: remove redundant 'default n' from Kconfig-s
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 24 Oct 2018 09:26:32 +0000 (11:26 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 24 Oct 2018 09:26:32 +0000 (11:26 +0200)
commitd6779741f085a385a6c834221e8b75ce12482c4b
treeb757a0c88e753c3454dcf5114c1683ef86baee42
parent20625350cc505a7a52d2cd460b614fb560285b9e
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 044e7d0ed21d ("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>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/mmp/hw/Kconfig
drivers/video/fbdev/mmp/panel/Kconfig
drivers/video/fbdev/omap2/omapfb/dss/Kconfig