aboutsummaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorPrzemo Firszt2012-03-22 18:54:07 +0000
committerJiri Kosina2012-03-28 10:23:35 +0200
commite31e3832927f5ee2d788120826e73d120dd39ea9 (patch)
treec45f2efe19cb4d148661ea2a1894454001b70251 /virt/kvm
parent7e551abbc85703355dcc041434b4962697cdf628 (diff)
HID: wacom: Refactor battery/ac reporting for Graphire
This patch doesn't change the way battery/ac is reported, but the changes are required to facilitate battery reporting for Intuos4 WL. wdata->battery_capacity now stores actual battery capacity as opposed to raw value reported by wacom graphire previously. Power supply state is now stored in a separate variable - it used to be calculated on-the-fly in wacom_ac_get_property function. The raw value has to be stored as well to be able to determine if it has changed. Signed-off-by: Przemo Firszt <przemo@firszt.eu> Reviewed-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions