aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2011-12-03 00:57:50 -0500
committerJeremy Fitzhardinge <jeremy@goop.org>2012-01-08 02:31:18 -0500
commitce63920b395f1476e2d28cca16a56919289f0b62 (patch)
tree58105d4d6ee351b1e35df4ed027ba5deb3f07b96 /include/linux/hid.h
parentb3ca3839f344aa469e6f53c8bbb633e5ab9b96c8 (diff)
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.h1
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 */
495 struct power_supply battery; 495 struct power_supply battery;
496 __s32 battery_min; 496 __s32 battery_min;
497 __s32 battery_max; 497 __s32 battery_max;
498 __s32 battery_val;
499 __s32 battery_report_type; 498 __s32 battery_report_type;
500 __s32 battery_report_id; 499 __s32 battery_report_id;
501#endif 500#endif