diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-23 08:32:37 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-11 07:44:51 -0400 |
commit | 04c742c3dccac296fdc52b464bd0491ffe88de23 (patch) | |
tree | 8e2cfc3dbb4965118c4d67639d1910db86286d73 /drivers/video/omap2 | |
parent | 00928eaf52007ee4e1fb7dc860bc02a56c125bb4 (diff) |
OMAPDSS: remove return from platform_driver_unreg
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>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r-- | drivers/video/omap2/dss/dispc.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/rfbi.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/venc.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index 2c43119b5ade..4623bd97a1af 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c | |||
@@ -3611,5 +3611,5 @@ int dispc_init_platform_driver(void) | |||
3611 | 3611 | ||
3612 | void dispc_uninit_platform_driver(void) | 3612 | void dispc_uninit_platform_driver(void) |
3613 | { | 3613 | { |
3614 | return platform_driver_unregister(&omap_dispchw_driver); | 3614 | platform_driver_unregister(&omap_dispchw_driver); |
3615 | } | 3615 | } |
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index d18c8e290c85..43eeb0d04d47 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -4814,5 +4814,5 @@ int dsi_init_platform_driver(void) | |||
4814 | 4814 | ||
4815 | void dsi_uninit_platform_driver(void) | 4815 | void dsi_uninit_platform_driver(void) |
4816 | { | 4816 | { |
4817 | return platform_driver_unregister(&omap_dsihw_driver); | 4817 | platform_driver_unregister(&omap_dsihw_driver); |
4818 | } | 4818 | } |
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index e212acb1e7d5..3a0655020252 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c | |||
@@ -874,5 +874,5 @@ int dss_init_platform_driver(void) | |||
874 | 874 | ||
875 | void dss_uninit_platform_driver(void) | 875 | void dss_uninit_platform_driver(void) |
876 | { | 876 | { |
877 | return platform_driver_unregister(&omap_dsshw_driver); | 877 | platform_driver_unregister(&omap_dsshw_driver); |
878 | } | 878 | } |
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 043eac676786..1d73ee7a5367 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c | |||
@@ -916,5 +916,5 @@ int hdmi_init_platform_driver(void) | |||
916 | 916 | ||
917 | void hdmi_uninit_platform_driver(void) | 917 | void hdmi_uninit_platform_driver(void) |
918 | { | 918 | { |
919 | return platform_driver_unregister(&omapdss_hdmihw_driver); | 919 | platform_driver_unregister(&omapdss_hdmihw_driver); |
920 | } | 920 | } |
diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c index feadfab27ec2..31c992662457 100644 --- a/drivers/video/omap2/dss/rfbi.c +++ b/drivers/video/omap2/dss/rfbi.c | |||
@@ -1039,5 +1039,5 @@ int rfbi_init_platform_driver(void) | |||
1039 | 1039 | ||
1040 | void rfbi_uninit_platform_driver(void) | 1040 | void rfbi_uninit_platform_driver(void) |
1041 | { | 1041 | { |
1042 | return platform_driver_unregister(&omap_rfbihw_driver); | 1042 | platform_driver_unregister(&omap_rfbihw_driver); |
1043 | } | 1043 | } |
diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index 9475e6edce68..1884e347b630 100644 --- a/drivers/video/omap2/dss/venc.c +++ b/drivers/video/omap2/dss/venc.c | |||
@@ -959,5 +959,5 @@ void venc_uninit_platform_driver(void) | |||
959 | if (cpu_is_omap44xx()) | 959 | if (cpu_is_omap44xx()) |
960 | return; | 960 | return; |
961 | 961 | ||
962 | return platform_driver_unregister(&omap_venchw_driver); | 962 | platform_driver_unregister(&omap_venchw_driver); |
963 | } | 963 | } |