diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2011-12-03 09:57:50 +0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2012-01-08 11:31:18 +0400 |
commit | ce63920b395f1476e2d28cca16a56919289f0b62 (patch) | |
tree | 58105d4d6ee351b1e35df4ed027ba5deb3f07b96 /include/linux/hid.h | |
parent | b3ca3839f344aa469e6f53c8bbb633e5ab9b96c8 (diff) | |
download | linux-ce63920b395f1476e2d28cca16a56919289f0b62.tar.xz |
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>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 9351d3d1d089..0e76f0ca110a 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -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 |