[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.0812030823440.23445@titan.stealer.net>
Date: Wed, 3 Dec 2008 08:24:19 +0100 (CET)
From: Sven Wegener <sven.wegener@...aler.net>
To: rpurdie@...ys.net
cc: linux-kernel@...r.kernel.org
Subject: [PATCH] leds-ams-delta: Fix sparse warning
drivers/leds/leds-ams-delta.c:154:2: warning: returning void-valued expression
Signed-off-by: Sven Wegener <sven.wegener@...aler.net>
---
drivers/leds/leds-ams-delta.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c
index 61b2a8a..072157c 100644
--- a/drivers/leds/leds-ams-delta.c
+++ b/drivers/leds/leds-ams-delta.c
@@ -151,7 +151,7 @@ static int __init ams_delta_led_init(void)
static void __exit ams_delta_led_exit(void)
{
- return platform_driver_unregister(&ams_delta_led_driver);
+ platform_driver_unregister(&ams_delta_led_driver);
}
module_init(ams_delta_led_init);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists