From: David Herrmann Date: Sun, 5 May 2013 21:12:54 +0000 (+0200) Subject: HID: wiimote: convert LEDS to modules X-Git-Tag: v3.11-rc1~90^2^3~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c5ae01805e2cc1810328b538ccb2376b5f8bd9f;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed