summaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2011-12-02 21:57:50 -0800
committerJeremy Fitzhardinge <jeremy@goop.org>2012-01-08 18:31:18 +1100
commitce63920b395f1476e2d28cca16a56919289f0b62 (patch)
tree58105d4d6ee351b1e35df4ed027ba5deb3f07b96 /include/linux/hid.h
parentb3ca3839f344aa469e6f53c8bbb633e5ab9b96c8 (diff)
downloadlinux-ce63920b395f1476e2d28cca16a56919289f0b62.tar.gz
linux-ce63920b395f1476e2d28cca16a56919289f0b62.tar.bz2
linux-ce63920b395f1476e2d28cca16a56919289f0b62.zip
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 */
struct power_supply battery;
__s32 battery_min;
__s32 battery_max;
- __s32 battery_val;
__s32 battery_report_type;
__s32 battery_report_id;
#endif