x86/microcode: Move away from using a fake platform device
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2025 10:54:22 +0000 (12:54 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 9 Jul 2025 11:12:08 +0000 (13:12 +0200)
commit9b355cdb63b1e43434d7ac57430d3e68de58338d
tree298745f23aa23681ac87b794c8f668e21d8e5ec4
parentd7b8f8e20813f0179d8ef519541a3527e7661d3a
x86/microcode: Move away from using a fake platform device

Downloading firmware needs a device to hang off of, and so a platform device
seemed like the simplest way to do this.  Now that we have a faux device
interface, use that instead as this "microcode device" is not anything
resembling a platform device at all.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/2025070121-omission-small-9308@gregkh
arch/x86/kernel/cpu/microcode/core.c