From 61023fd1664c15bcbbb53fe0211953ab0d4f0687 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 17 Dec 2013 10:44:53 +1100 Subject: [PATCH] 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 --- drivers/input/leds.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; -- 2.39.5