Skip to content

Commit 0c16b8f

Browse files
committed
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/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 1f34b5a commit 0c16b8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/memory/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ config ARM_PL172_MPMC
3232

3333
config ATMEL_EBI
3434
bool "Atmel EBI driver"
35-
default y if ARCH_AT91
35+
default ARCH_AT91
3636
depends on ARCH_AT91 || COMPILE_TEST
3737
depends on OF
3838
select MFD_SYSCON
@@ -147,7 +147,7 @@ config FPGA_DFL_EMIF
147147

148148
config MVEBU_DEVBUS
149149
bool "Marvell EBU Device Bus Controller"
150-
default y if PLAT_ORION
150+
default PLAT_ORION
151151
depends on PLAT_ORION || COMPILE_TEST
152152
depends on OF
153153
help
@@ -198,7 +198,7 @@ config DA8XX_DDRCTL
198198

199199
config PL353_SMC
200200
tristate "ARM PL35X Static Memory Controller(SMC) driver"
201-
default y if ARM
201+
default ARM
202202
depends on ARM || COMPILE_TEST
203203
depends on ARM_AMBA
204204
help

0 commit comments

Comments
 (0)