ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
authorJoerg Roedel <jroedel@suse.de>
Wed, 22 Mar 2017 17:33:25 +0000 (18:33 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Mar 2017 21:37:19 +0000 (23:37 +0200)
commit08f63d97749185fab942a3a47ed80f5bd89b8b7d
tree2002239acad206fec9839a44075032ba9adfef9e
parente3d5092b6756b9e0b08f94bbeafcc7afe19f0996
ACPI: Do not create a platform_device for IOAPIC/IOxAPIC

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>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c