mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
hid-input/battery: remove battery_val
hidinput_get_battery_property() now directly polls the device for the current battery strength, so there's no need for battery_val, or the code to set it on the input event path. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
This commit is contained in:
parent
b3ca3839f3
commit
ce63920b39
2 changed files with 0 additions and 9 deletions
|
@ -495,7 +495,6 @@ struct hid_device { /* device report descriptor */
|
|||
struct power_supply battery;
|
||||
__s32 battery_min;
|
||||
__s32 battery_max;
|
||||
__s32 battery_val;
|
||||
__s32 battery_report_type;
|
||||
__s32 battery_report_id;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue