HID: wacom: generic: Report AES battery information
authorJason Gerecke <killertofu@gmail.com>
Fri, 28 Apr 2017 16:25:32 +0000 (09:25 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 May 2017 19:46:09 +0000 (21:46 +0200)
commita7758702879e68d221cf6dd9844bf5b2a070c8cb
tree2c5740e53596de382a15bae881551dd3c8a75e9b
parentf496c09c0785b60fa6b762ad720ba31f6a9de0ac
HID: wacom: generic: Report AES battery information

When support for the HID_DG_BATTERYSTRENGTH usage was added for AES devices,
it appears that the value was read, but never actually forwarded to the
power_supply subystem for userspace's benefit. Let's correct that.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c