History

platform/x86: asus-wmi: Reorder ASUS_WMI_CHARGE_THRESHOLD

At the same time add a comment explaining what it is used for.

Kristian Klausen committed 7 years ago

Commit 7c285031 parent 1233c7b1 file · +3 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/platform_data/x86/asus-wmi.h+3−1
@@ -61,7 +61,6 @@ · 60 unmodified lines
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 @@ · 14 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t