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:
Thorsten Blum 2026-08-04 13:52:25 +02:00 • committed by Ingo Molnar
commit 2ea3973d4f
3 changed files with 7 additions and 10 deletions