diff options
author | Przemo Firszt <przemo@firszt.eu> | 2012-03-22 18:54:07 +0000 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-03-28 10:23:35 +0200 |
commit | e31e3832927f5ee2d788120826e73d120dd39ea9 (patch) | |
tree | c45f2efe19cb4d148661ea2a1894454001b70251 /lib/mpi/mpi-inline.c | |
parent | 7e551abbc85703355dcc041434b4962697cdf628 (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 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions