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

memory: Simplify 'default' choice in Kconfig

'default y if FOO' can be written shorter (and it already is in other
places).

Link: https://lore.kernel.org/r/20250404111703.235455-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

+3 -3
+3 -3
drivers/memory/Kconfig
··· 32 32 33 33 config ATMEL_EBI 34 34 bool "Atmel EBI driver" 35 - default y if ARCH_AT91 35 + default ARCH_AT91 36 36 depends on ARCH_AT91 || COMPILE_TEST 37 37 depends on OF 38 38 select MFD_SYSCON ··· 147 147 148 148 config MVEBU_DEVBUS 149 149 bool "Marvell EBU Device Bus Controller" 150 - default y if PLAT_ORION 150 + default PLAT_ORION 151 151 depends on PLAT_ORION || COMPILE_TEST 152 152 depends on OF 153 153 help ··· 198 198 199 199 config PL353_SMC 200 200 tristate "ARM PL35X Static Memory Controller(SMC) driver" 201 - default y if ARM 201 + default ARM 202 202 depends on ARM || COMPILE_TEST 203 203 depends on ARM_AMBA 204 204 help