All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc: bw2.c fix bw2_exit
@ 2008-04-27 14:31 Robert Reif
  2008-04-27 22:21 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-04-27 14:31 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 94 bytes --]

Fix void function bw2_exit returning value.

Signed-off-by: Robert Reif <reif@earthlink.net>


[-- Attachment #2: bw2.diff.txt --]
[-- Type: text/plain, Size: 369 bytes --]

diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c
index 833b10c..bb0bb55 100644
--- a/drivers/video/bw2.c
+++ b/drivers/video/bw2.c
@@ -399,10 +399,9 @@ static int __init bw2_init(void)
 
 static void __exit bw2_exit(void)
 {
-	return of_unregister_driver(&bw2_driver);
+	of_unregister_driver(&bw2_driver);
 }
 
-
 module_init(bw2_init);
 module_exit(bw2_exit);
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-27 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-27 14:31 [PATCH] sparc: bw2.c fix bw2_exit Robert Reif
2008-04-27 22:21 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.