]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86/intel/vbtn: Stop creating a platform device
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Dec 2025 13:35:44 +0000 (14:35 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Dec 2025 20:51:04 +0000 (21:51 +0100)
commit686e905aeea524b957a8584c8c1e5060111ad4da
tree98c612cdafc32cdd00a0338d2019e0fac90d942e
parent61ddc929a162c68f2fedb32767cf8afe54198b56
platform/x86/intel/vbtn: Stop creating a platform device

Now that "system" devices are represented as platform devices, they
are not claimed by the PNP ACPI scan handler any more and the Intel
virtual button array platform devices should be created by the ACPI
core, so the driver does not need to attempt to create a platform
device by itself.

Accordingly, make it stop doing so.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/8661724.NyiUUSuA9g@rafael.j.wysocki
drivers/platform/x86/intel/vbtn.c