projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff8649a
)
leds: Fix sparse warning in leds-ams-delta
author
Sven Wegener
<sven.wegener@stealer.net>
Wed, 3 Dec 2008 08:06:42 +0000
(08:06 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Thu, 8 Jan 2009 12:38:57 +0000
(12:38 +0000)
drivers/leds/leds-ams-delta.c:154:2: warning: returning void-valued expression
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-ams-delta.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-ams-delta.c
b/drivers/leds/leds-ams-delta.c
index
1bd590b
..
da6242a
100644
(file)
--- 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);