diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-08-01 19:48:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-08-06 06:57:30 -0300 |
commit | 01c1e4ca8ec39d21be0cd9d1b300d479de97298a (patch) | |
tree | bfc6637b47b51ca1d93d799d9988c2ebf77ed481 /drivers/media/video/pxa_camera.c | |
parent | d483b730681fa527f343dcc859185e06d60ae121 (diff) | |
download | linux-3.10-01c1e4ca8ec39d21be0cd9d1b300d479de97298a.tar.gz linux-3.10-01c1e4ca8ec39d21be0cd9d1b300d479de97298a.tar.bz2 linux-3.10-01c1e4ca8ec39d21be0cd9d1b300d479de97298a.zip |
V4L/DVB (8609): media: Clean up platform_driver_unregister() bogosity.
So, platform_driver_unregister() doesn't actually have a return value,
nor do any of the void __exit routines. It's reassuring to know that
people copy and paste blindly. This completely blew up my compiler.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pxa_camera.c')
-rw-r--r-- | drivers/media/video/pxa_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index b15f82c4976..28d8fd0679b 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c @@ -1198,7 +1198,7 @@ static int __devinit pxa_camera_init(void) static void __exit pxa_camera_exit(void) { - return platform_driver_unregister(&pxa_camera_driver); + platform_driver_unregister(&pxa_camera_driver); } module_init(pxa_camera_init); |