summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKristian Klausen <kristian@klausen.dk>2019-09-09 19:31:27 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-09-09 21:19:22 +0300
commit0c37f44845557b5e5b91ab320f256a4fd5059648 (patch)
treeb6743ded52b10a7fd2e9b6a0574b1b65c6ea0b7c /include
parent7c28503db19cfa28e394a394aca61c79fbf3f969 (diff)
platform/x86: asus-wmi: Rename CHARGE_THRESHOLD to RSOC
The device is officially called "Relative state of charge" (RSOC). At the same time add the missing DEVID from the name. Signed-off-by: Kristian Klausen <kristian@klausen.dk> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/x86/asus-wmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h
index 21f0426c8272..60249e22e844 100644
--- a/include/linux/platform_data/x86/asus-wmi.h
+++ b/include/linux/platform_data/x86/asus-wmi.h
@@ -82,7 +82,7 @@
#define ASUS_WMI_DEVID_LID_RESUME 0x00120031
/* Maximum charging percentage */
-#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057
+#define ASUS_WMI_DEVID_RSOC 0x00120057
/* DSTS masks */
#define ASUS_WMI_DSTS_STATUS_BIT 0x00000001