]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
input-route-kbd-leds-through-the-generic-leds-layer-fix
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 16 Dec 2013 23:44:53 +0000 (10:44 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:44:53 +0000 (10:44 +1100)
remove unneeded `extern', fix comment layout

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/input/leds.c

index 6bdb51d404a7a1e68873627eb3c84e42e3eca3c7..1d8a980719ab80b7cfdc0bd73e4c03beee024014 100644 (file)
@@ -211,9 +211,11 @@ err:
        return error;
 }
 
-/* Disconnected input device. Clean it, and deregister now-useless VT LEDs
- * and triggers.  */
-extern void input_led_disconnect(struct input_dev *dev)
+/*
+ * Disconnected input device. Clean it, and deregister now-useless VT LEDs and
+ * triggers.
+ */
+void input_led_disconnect(struct input_dev *dev)
 {
        int i;
        struct led_classdev *leds = dev->leds;