OMAPDSS: remove return from platform_driver_unreg
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Feb 2012 13:32:37 +0000 (15:32 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 May 2012 11:44:51 +0000 (14:44 +0300)
For unknown reasons we seem to have a return in each of the omapdss's
uninit functions, which is a void function.

Remove the returns.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/rfbi.c
drivers/video/omap2/dss/venc.c

index 2c43119b5adefdd4988e2b2da696faae923f3733..4623bd97a1af89cb41546b75860bc6d0c18dd35b 100644 (file)
@@ -3611,5 +3611,5 @@ int dispc_init_platform_driver(void)
 
 void dispc_uninit_platform_driver(void)
 {
-       return platform_driver_unregister(&omap_dispchw_driver);
+       platform_driver_unregister(&omap_dispchw_driver);
 }
index d18c8e290c8550210d62e447f96e9b33d588209d..43eeb0d04d4739c9ec13eb4c38ed008319668e3b 100644 (file)
@@ -4814,5 +4814,5 @@ int dsi_init_platform_driver(void)
 
 void dsi_uninit_platform_driver(void)
 {
-       return platform_driver_unregister(&omap_dsihw_driver);
+       platform_driver_unregister(&omap_dsihw_driver);
 }
index e212acb1e7d5489de7a367e8b22098fec3afb5eb..3a065502025207fa2fb930afd41216f3009c08d3 100644 (file)
@@ -874,5 +874,5 @@ int dss_init_platform_driver(void)
 
 void dss_uninit_platform_driver(void)
 {
-       return platform_driver_unregister(&omap_dsshw_driver);
+       platform_driver_unregister(&omap_dsshw_driver);
 }
index 043eac6767868879bb4d4575ef481e8256ddb558..1d73ee7a53672632037cb145fd494f64a2f93b24 100644 (file)
@@ -916,5 +916,5 @@ int hdmi_init_platform_driver(void)
 
 void hdmi_uninit_platform_driver(void)
 {
-       return platform_driver_unregister(&omapdss_hdmihw_driver);
+       platform_driver_unregister(&omapdss_hdmihw_driver);
 }
index feadfab27ec2500de3249d818b9b2800a3d4e69d..31c992662457b7279f4a261562bed0fb4007586f 100644 (file)
@@ -1039,5 +1039,5 @@ int rfbi_init_platform_driver(void)
 
 void rfbi_uninit_platform_driver(void)
 {
-       return platform_driver_unregister(&omap_rfbihw_driver);
+       platform_driver_unregister(&omap_rfbihw_driver);
 }
index 9475e6edce682bda81a7c543e404dea0ec659125..1884e347b630c1137d59378257768634ad57d91b 100644 (file)
@@ -959,5 +959,5 @@ void venc_uninit_platform_driver(void)
        if (cpu_is_omap44xx())
                return;
 
-       return platform_driver_unregister(&omap_venchw_driver);
+       platform_driver_unregister(&omap_venchw_driver);
 }