platform/x86: asus-wmi: Reorder ASUS_WMI_CHARGE_THRESHOLD
authorKristian Klausen <kristian@klausen.dk>
Mon, 9 Sep 2019 17:31:26 +0000 (19:31 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Sep 2019 18:19:22 +0000 (21:19 +0300)
At the same time add a comment explaining what it is used for.

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/platform_data/x86/asus-wmi.h

index 53934ef38d98f35e72491ecf8d54af5d6933d3ac..21f0426c827207fa5bf78f150b77ef1217fe8616 100644 (file)
@@ -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