]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: Kconfig: Remove unnecessary "if X86"
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Jun 2022 14:56:27 +0000 (16:56 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 27 Jun 2022 07:37:49 +0000 (09:37 +0200)
commitc992613dc8b757248a8cd505a426e8ed5f805227
treeee6c2788fe3d566f729c1a327f2ba5e41299aa93
parent43f63e356e338358b30c5194d820bc9aa4a74e89
platform/x86: Kconfig: Remove unnecessary "if X86"

drivers/platform/x86/Kconfig is wrapped in one big
if X86_PLATFORM_DEVICES .. endif and X86_PLATFORM_DEVICES already
has a "depends on X86" so the "if X86" in drivers/platform/Kconfig
is not necessary and except for MIPS none of the other includes
there has such an if. So let's remove it.

While at it also move the x86/Kconfig include to the end of the file
for alphabetical sorting.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220620145628.5882-2-hdegoede@redhat.com
drivers/platform/Kconfig