]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
platform/x86: dell-wmi-led: Adjust instance of wmi_evaluate_method calls to 0
authorMario Limonciello <mario.limonciello@dell.com>
Fri, 23 Jun 2017 14:35:21 +0000 (09:35 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 28 Jun 2017 16:01:36 +0000 (09:01 -0700)
commit71596f5b0e4a0071394d425d7cbcd2bfca655c61
treeda96976381e62b8f06257ba7437488f76513d3ac
parentc0e4aa78716401e8d7d5434b69bbf6596b55a936
platform/x86: dell-wmi-led: Adjust instance of wmi_evaluate_method calls to 0

Pali recently noticed that WMI instances are zero indexed.

The only reason that these calls all worked properly is because the ASL
didn't verify the instance number.

Signed-off-by: Louis Davis <louis.davis@dell.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-wmi-led.c