From: Chris Bagwell Date: Tue, 12 Jun 2012 07:25:23 +0000 (-0700) Subject: Input: wacom - battery reporting improvements X-Git-Tag: v3.6-rc1~95^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7af2bb84cea328c766c615aac45cdd498c50bc6;p=pandora-kernel.git Input: wacom - battery reporting improvements Do not register battery device until connected to a tablet. This prevents an empty battery icon from being shown when tablet is connected using USB cable. Also, call power_supply_powers() for apps that can make use of that info. And stop ignoring input registration failures. Signed-off-by: Chris Bagwell Reviewed-by: Ping Cheng Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed