From: Andrew Morton Date: Mon, 16 Dec 2013 23:44:53 +0000 (+1100) Subject: input-route-kbd-leds-through-the-generic-leds-layer-fix X-Git-Tag: next-20131220~2^2~232 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61023fd1664c15bcbbb53fe0211953ab0d4f0687;p=karo-tx-linux.git input-route-kbd-leds-through-the-generic-leds-layer-fix remove unneeded `extern', fix comment layout Reported-by: Wu Fengguang Cc: Dmitry Torokhov Cc: Samuel Thibault Signed-off-by: Andrew Morton --- diff --git a/drivers/input/leds.c b/drivers/input/leds.c index 6bdb51d404a7..1d8a980719ab 100644 --- a/drivers/input/leds.c +++ b/drivers/input/leds.c @@ -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;