]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wiimote: use unique battery names
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 2 Apr 2013 17:58:34 +0000 (19:58 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Apr 2013 07:38:42 +0000 (09:38 +0200)
commita7ce0aba2ef82f408859e65c20aec0ce6d76fc4e
tree94fb7cde551e4701f250a377d80e8d5cfc0fc6d0
parente0e9a9b591071575defab36d788a860c5e9ed3b7
HID: wiimote: use unique battery names

Battery device names must be unique, otherwise registration fails if
multiple Wii Remotes are connected.

This breaks the sysfs API, but there is no known application that uses the
Wii Remote battery that I know of so we should go ahead and apply this.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-core.c