ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
commitb3641939b1aeba3e11a855c5d0ab06bab39ec0f2
authorJoerg Roedel <jroedel@suse.de>
Wed, 22 Mar 2017 17:33:25 +0000 (22 18:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 07:30:34 +0000 (8 09:30 +0200)
tree255feda23dad8fad1463462dee5f604ca2355a1c
parent000d2bb6c059bb638e31c7f84774a1d4af6d772d
ACPI: Do not create a platform_device for IOAPIC/IOxAPIC

commit 08f63d97749185fab942a3a47ed80f5bd89b8b7d upstream.

No platform-device is required for IO(x)APICs, so don't even
create them.

[ rjw: This fixes a problem with leaking platform device objects
  after IOAPIC/IOxAPIC hot-removal events.]

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpi_platform.c