From: Benjamin Tissoires Date: Sat, 26 Jul 2014 00:31:51 +0000 (-0700) Subject: Input: wacom - use a uniq name for the battery device X-Git-Tag: omap-for-v3.17/fixes-against-rc2~115^2~1^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70420b914c98a3758674c6e9858810e0ab4ea30;p=pandora-kernel.git Input: wacom - use a uniq name for the battery device The current implementation uses "wacom_battery" as a generic name for batteries. This prevents us to have two Wacom devices with a battery attached as the power system will complain about the name which is already registered. Use an incremental name for each battery attached. Related bug: https://sourceforge.net/p/linuxwacom/bugs/248/ Signed-off-by: Benjamin Tissoires Acked-by: Przemo Firszt Acked-by: Ping Cheng Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed