From: Jason Gerecke Date: Fri, 6 Mar 2015 19:47:41 +0000 (-0800) Subject: HID: wacom: Provide battery charge state to system over USB if available X-Git-Tag: omap-for-v4.1/fixes-rc1~163^2~1^11~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f93b0b2b0a336746adc8730921b219f0ba40c29;p=pandora-kernel.git HID: wacom: Provide battery charge state to system over USB if available If a wireless adapter (which contains the charging circuitry) is detected as being attached to the tablet then create a new battery interface and update its status as data is reported. Also destroy the battery if the adapter goes away. Signed-off-by: Jason Gerecke Acked-by: Ping Cheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed