diff options
| author | Kristian Klausen <kristian@klausen.dk> | 2019-09-09 13:31:26 -0400 |
|---|---|---|
| committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-09-09 14:19:22 -0400 |
| commit | 7c28503db19cfa28e394a394aca61c79fbf3f969 (patch) | |
| tree | 8b0a41ee08ffa17067b736a6d2c98e5f303ec303 /include/linux/platform_data/x86 | |
| parent | 1233c7b95c7045905e40c11484493f20ab521d21 (diff) | |
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 <kristian@klausen.dk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/platform_data/x86')
| -rw-r--r-- | include/linux/platform_data/x86/asus-wmi.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
| 61 | 61 | ||
| 62 | /* Misc */ | 62 | /* Misc */ |
| 63 | #define ASUS_WMI_DEVID_CAMERA 0x00060013 | 63 | #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 0x00080013 | 66 | #define ASUS_WMI_DEVID_CARDREADER 0x00080013 |
| @@ -82,6 +81,9 @@ | |||
| 82 | /* Deep S3 / Resume on LID open */ | 81 | /* Deep S3 / Resume on LID open */ |
| 83 | #define ASUS_WMI_DEVID_LID_RESUME 0x00120031 | 82 | #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 0x00000001 | 88 | #define ASUS_WMI_DSTS_STATUS_BIT 0x00000001 |
| 87 | #define ASUS_WMI_DSTS_UNKNOWN_BIT 0x00000002 | 89 | #define ASUS_WMI_DSTS_UNKNOWN_BIT 0x00000002 |
