aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wmi.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@dell.com>2017-11-01 14:25:28 -0500
committerDarren Hart (VMware) <dvhart@infradead.org>2017-11-03 16:33:58 -0700
commitf97e058cfe8032504e310bd5c20e35d640ef2858 (patch)
tree2d6e2935ecb018d1195ec06c8b7eecc024dffb4e /include/linux/wmi.h
parentplatform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver (diff)
downloadlinux-dev-f97e058cfe8032504e310bd5c20e35d640ef2858.tar.xz
linux-dev-f97e058cfe8032504e310bd5c20e35d640ef2858.zip
platform/x86: wmi: Don't allow drivers to get each other's GUIDs
The only driver using this was dell-wmi, and it really was a hack. The driver was getting a data attribute from another driver and this type of action should not be encouraged. Rather drivers that need to interact with one another should pass data back and forth via exported functions. Signed-off-by: Mario Limonciello <mario.limonciello@dell.com> Reviewed-by: Edward O'Callaghan <quasisec@google.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'include/linux/wmi.h')
-rw-r--r--include/linux/wmi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/wmi.h b/include/linux/wmi.h
index 2cd10c3b89e9..ddee427e0721 100644
--- a/include/linux/wmi.h
+++ b/include/linux/wmi.h
@@ -36,10 +36,6 @@ extern acpi_status wmidev_evaluate_method(struct wmi_device *wdev,
extern union acpi_object *wmidev_block_query(struct wmi_device *wdev,
u8 instance);
-/* Gets another device on the same bus. Caller must put_device the result. */
-extern struct wmi_device *wmidev_get_other_guid(struct wmi_device *wdev,
- const char *guid_string);
-
struct wmi_device_id {
const char *guid_string;
};