aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wmi.h
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2015-11-24 19:50:01 -0800
committerDarren Hart (VMware) <dvhart@infradead.org>2017-06-06 10:15:17 -0700
commitb0e86302973d9e710c722a8436cc7e099d2a5b0d (patch)
tree20714faac6d7df1bcada04778e62ffa4ad0f3394 /include/linux/wmi.h
parentplatform/x86: wmi: Clean up acpi_wmi_add (diff)
downloadlinux-dev-b0e86302973d9e710c722a8436cc7e099d2a5b0d.tar.xz
linux-dev-b0e86302973d9e710c722a8436cc7e099d2a5b0d.zip
platform/x86: wmi: Track wmi devices per ACPI device
Currently we free all devices when we detach from any ACPI node. Instead, keep track of which node WMI devices are attached to and free them only as needed. While we are at it, match up notifications with the device they came from correctly. This will make our behavior more straightforward on systems with more than one WMI node in the ACPI tables (e.g. the Dell XPS 13 9350). This also adds a warning when GUIDs are not unique. NB: The guid_string parameter in guid_already_parsed was a little-endian binary GUID, not a string. Signed-off-by: Andy Lutomirski <luto@kernel.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Mario Limonciello <mario_limonciello@dell.com> Cc: Pali Rohár <pali.rohar@gmail.com> Cc: linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org Cc: linux-acpi@vger.kernel.org Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'include/linux/wmi.h')
0 files changed, 0 insertions, 0 deletions