]> git.baikalelectronics.ru Git - uboot.git/commit
treewide: Fix wrong CONFIG_IS_ENABLED() handling
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Mon, 5 Oct 2020 06:57:29 +0000 (09:57 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 14 Oct 2020 15:16:34 +0000 (11:16 -0400)
commitbb423476a8dae63757f4fa1c74721d4cca949515
treef988c6c3cf148934642f0de036cdd30118c2e7a5
parent0ed8aa03d46beece0ad076ad7a74da20f18d8a8c
treewide: Fix wrong CONFIG_IS_ENABLED() handling

CONFIG_IS_ENABLED() takes the kconfig name without the CONFIG_ prefix,
e.g. CONFIG_IS_ENABLED(CLK) for CONFIG_CLK. Some of these were being
fixed every now and then, see:

    commit fd6dcc400309 ("board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED")
    commit e6115dfd1b15 ("rockchip: clk: fix wrong CONFIG_IS_ENABLED handling")
    commit 37f1187bf658 ("common: console: Fix duplicated CONFIG in silent env callback")
    commit bae796b7e585 ("MIPS: bootm: Fix broken boot_env_legacy codepath")

Fix all files found by `git grep "CONFIG_IS_ENABLED(CONFIG"` by running
':%s/CONFIG_IS_ENABLED(CONFIG_\(\w+\))/CONFIG_IS_ENABLED(\1)/g' in vim.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/rockchip/clk_rk3399.c
drivers/spi/nxp_fspi.c
drivers/sysreset/sysreset_mpc83xx.c