diff mbox series

[1/3] platform/x86: asus-wmi: Reorder ASUS_WMI_CHARGE_THRESHOLD

Message ID 20190909173128.1670-1-kristian@klausen.dk (mailing list archive)
State Accepted, archived
Delegated to: Andy Shevchenko
Headers show
Series [1/3] platform/x86: asus-wmi: Reorder ASUS_WMI_CHARGE_THRESHOLD | expand

Commit Message

Kristian Klausen Sept. 9, 2019, 5:31 p.m. UTC
At the same time add a comment explaining what it is used for.

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
---
 include/linux/platform_data/x86/asus-wmi.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h
index 53934ef38d98..21f0426c8272 100644
--- a/include/linux/platform_data/x86/asus-wmi.h
+++ b/include/linux/platform_data/x86/asus-wmi.h
@@ -61,7 +61,6 @@ 
 
 /* Misc */
 #define ASUS_WMI_DEVID_CAMERA		0x00060013
-#define ASUS_WMI_CHARGE_THRESHOLD	0x00120057
 
 /* Storage */
 #define ASUS_WMI_DEVID_CARDREADER	0x00080013
@@ -82,6 +81,9 @@ 
 /* Deep S3 / Resume on LID open */
 #define ASUS_WMI_DEVID_LID_RESUME	0x00120031
 
+/* Maximum charging percentage */
+#define ASUS_WMI_CHARGE_THRESHOLD	0x00120057
+
 /* DSTS masks */
 #define ASUS_WMI_DSTS_STATUS_BIT	0x00000001
 #define ASUS_WMI_DSTS_UNKNOWN_BIT	0x00000002