commit | 6c5ae01805e2cc1810328b538ccb2376b5f8bd9f | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Sun May 05 23:12:54 2013 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Jun 03 11:07:01 2013 +0200 |
tree | 0870bb177a597bb36787d48b4112c587ab2614f9 | |
parent | dcf392313817efb4f318ebbf21f607dbdaf5ea56 [diff] |
HID: wiimote: convert LEDS to modules Each of the 4 LEDs may be supported individually by devices. Therefore, we need one module for each device. To avoid code-duplication, we simply pass the LED ID as "arg" argument to the module loading code. This just moves the code over to wiimote-module. The semantics stay the same as before. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>