From: Robert Reif Date: Sun, 27 Apr 2008 22:16:59 +0000 (-0700) Subject: sparc: bw2.c fix bw2_exit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2556bf1212c768f567401257582681aa117af4a9;p=linux-beck.git sparc: bw2.c fix bw2_exit Fix void function bw2_exit returning value. Signed-off-by: Robert Reif Signed-off-by: David S. Miller --- diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c index 833b10c84064..bb0bb5532845 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);