]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: huawei-wmi: Avoid use of global variable when possible
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Oct 2019 12:16:57 +0000 (15:16 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Oct 2019 07:55:11 +0000 (10:55 +0300)
commit3c27f179d502940059ca4f9ed85359a02eaf71e7
treef0c63cd001299c939b3c3a0d9a0e85dc83ca7c10
parentc7a949766fd24546b15af1d6f4bb57fddeec5558
platform/x86: huawei-wmi: Avoid use of global variable when possible

There is no need to access global variable directly when we may derive it
through other means.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/huawei-wmi.c