mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
x86/boot: Use IS_ENABLED() to simplify built-in-or-module checks
Replace open-coded built-in-or-module checks for CONFIG_APM, CONFIG_EDD, and CONFIG_X86_SPEEDSTEP_SMI with IS_ENABLED(). No change in functionality intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://patch.msgid.link/20260804115227.62158-4-thorsten.blum@linux.dev
This commit is contained in:
parent
10a357ce44
commit
2ea3973d4f
3 changed files with 7 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue