platform/x86: alienware-wmi: Adjust instance of wmi_evaluate_method calls to 0
authorMario Limonciello <mario.limonciello@dell.com>
Wed, 21 Jun 2017 22:01:35 +0000 (17:01 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 28 Jun 2017 16:01:35 +0000 (09:01 -0700)
commitc0e4aa78716401e8d7d5434b69bbf6596b55a936
tree71b4f9f3d8b241a4d4f9407b4600572045d1a824
parent20485a565de73c58d39b74501b451b40bd817195
platform/x86: alienware-wmi: 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: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/alienware-wmi.c