hid-input/battery: remove battery_val
authorJeremy Fitzhardinge <jeremy@goop.org>
Sat, 3 Dec 2011 05:57:50 +0000 (21:57 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Sun, 8 Jan 2012 07:31:18 +0000 (18:31 +1100)
commitce63920b395f1476e2d28cca16a56919289f0b62
tree58105d4d6ee351b1e35df4ed027ba5deb3f07b96
parentb3ca3839f344aa469e6f53c8bbb633e5ab9b96c8
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>
drivers/hid/hid-input.c
include/linux/hid.h