Skip to content

Commit 7c28503

Browse files
klausenbuskandy-shev
authored andcommitted
platform/x86: asus-wmi: Reorder ASUS_WMI_CHARGE_THRESHOLD
At the same time add a comment explaining what it is used for. Signed-off-by: Kristian Klausen <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 1233c7b commit 7c28503

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/linux/platform_data/x86/asus-wmi.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161

6262
/* Misc */
6363
#define ASUS_WMI_DEVID_CAMERA 0x00060013
64-
#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057
6564

6665
/* Storage */
6766
#define ASUS_WMI_DEVID_CARDREADER 0x00080013
@@ -82,6 +81,9 @@
8281
/* Deep S3 / Resume on LID open */
8382
#define ASUS_WMI_DEVID_LID_RESUME 0x00120031
8483

84+
/* Maximum charging percentage */
85+
#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057
86+
8587
/* DSTS masks */
8688
#define ASUS_WMI_DSTS_STATUS_BIT 0x00000001
8789
#define ASUS_WMI_DSTS_UNKNOWN_BIT 0x00000002

0 commit comments

Comments
 (0)