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
61 61
62/* Misc */62/* Misc */
63#define ASUS_WMI_DEVID_CAMERA 0x0006001363#define ASUS_WMI_DEVID_CAMERA 0x00060013
64#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057
65 64
66/* Storage */65/* Storage */
67#define ASUS_WMI_DEVID_CARDREADER 0x0008001366#define ASUS_WMI_DEVID_CARDREADER 0x00080013
@@ -82,6 +81,9 @@ · 14 unmodified lines
82/* Deep S3 / Resume on LID open */81/* Deep S3 / Resume on LID open */
83#define ASUS_WMI_DEVID_LID_RESUME 0x0012003182#define ASUS_WMI_DEVID_LID_RESUME 0x00120031
84 83
84/* Maximum charging percentage */
85#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057
86
85/* DSTS masks */87/* DSTS masks */
86#define ASUS_WMI_DSTS_STATUS_BIT 0x0000000188#define ASUS_WMI_DSTS_STATUS_BIT 0x00000001
87#define ASUS_WMI_DSTS_UNKNOWN_BIT 0x0000000289#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