summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-02-10 09:17:25 -0500
committerTom Rini <[email protected]>2023-02-10 09:17:25 -0500
commit8b301102e246350a0ccedc370f7c9923b02f86f2 (patch)
tree15ddc9d376d630efb4c614c4bda559d3c0c99d64 /drivers/misc
parent81e8a51cee2b265e26272f0c67518c4844baa36c (diff)
parent42a13b21dcb6663847ae71c0a42dcf2f4149b69a (diff)
Merge branch '2023-02-08-Kconfig-cleanup-CONFIG_IS_ENABLED-to-IS_ENABLED'
- This series brings in a large number of patches in the form of changing CONFIG_IS_ENABLED(FOO) to IS_ENABLED(CONFIG_FOO) when there it is the case that CONFIG_xPL_FOO is never a valid symbol. The majority of the times where we do this, it is unintentional and does not make the code more useful, or rarely, introduces bugs.
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/fsl_ifc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/fsl_ifc.c b/drivers/misc/fsl_ifc.c
index 58b00587363..f165b8c36ba 100644
--- a/drivers/misc/fsl_ifc.c
+++ b/drivers/misc/fsl_ifc.c
@@ -371,7 +371,7 @@ void init_early_memctl_regs(void)
for (i = 0 ; i < regs_info.cs_size; i++) {
if (regs[i].pr && (regs[i].pr & CSPR_V)) {
/* skip setting cspr/csor_ext in below condition */
- if (!(CONFIG_IS_ENABLED(A003399_NOR_WORKAROUND) &&
+ if (!(IS_ENABLED(CONFIG_A003399_NOR_WORKAROUND) &&
i == 0 &&
((regs[0].pr & CSPR_MSEL) == CSPR_MSEL_NOR))) {
if (regs[i].pr_ext)