From: Jason Gerecke Date: Fri, 6 Mar 2015 19:47:39 +0000 (-0800) Subject: HID: wacom: Centralize updating of wacom_wac battery status X-Git-Tag: omap-for-v4.1/fixes-rc1~163^2~1^11~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953f2c5f716305a5c2ebea935f410ee7aa439159;p=pandora-kernel.git HID: wacom: Centralize updating of wacom_wac battery status Has the 'wacom_notify_battery' function take on the job of detecting if updating the power supply is necessary to remove multiple nearly-identical 'if' blocks. Signed-off-by: Jason Gerecke Acked-by: Ping Cheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed