]> asedeno.scripts.mit.edu Git - linux.git/commit
platform/x86: huawei-wmi: Remove unnecessary battery mutex
authorAyman Bagabas <ayman.bagabas@gmail.com>
Sun, 20 Oct 2019 17:00:09 +0000 (13:00 -0400)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 21 Oct 2019 09:17:30 +0000 (12:17 +0300)
commit16c6c057175cbdcdc6c1251bbce90264a5380240
tree7b46d56ba784fa78d8c2ebaf4ab6086ad008313d
parent39c0a6295e3a270e17022db71c71aa637c3d4695
platform/x86: huawei-wmi: Remove unnecessary battery mutex

battery_lock mutex is never used and not needed.

Fixes: 355a070b09ab ("platform/x86: huawei-wmi: Add battery charging thresholds")
Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/huawei-wmi.c