ACPI: APEI: EINJ: Transition to the faux device interface
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Mar 2025 10:13:20 +0000 (10:13 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Apr 2025 19:32:42 +0000 (21:32 +0200)
commit6cb9441bfe8dd7fb91134de3c40c33fbbf0ed4c5
tree6819bc6cfd03913a925ae0240b965cd2f1c97e52
parent0af2f6be1b4281385b618cb86ad946eded089ac8
ACPI: APEI: EINJ: Transition to the faux device interface

The APEI error injection driver does not require the creation of a
platform device. Originally, this approach was chosen for simplicity
when the driver was first implemented.

With the introduction of the lightweight faux device interface, we now
have a more appropriate alternative. Migrate the driver to utilize the
faux bus, given that the platform device it previously created was not
a real one anyway. This will simplify the code, reducing its footprint
while maintaining functionality.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://patch.msgid.link/20250317-plat2faux_dev-v1-8-5fe67c085ad5@arm.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/einj-core.c