video: exynos_dp: change return type of exynos_dp_init_video to void
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 Aug 2012 10:54:16 +0000 (19:54 +0900)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:23:19 +0000 (13:23 +0000)
This patch changes return type of exynos_dp_init_video to void,
because the return value is unnecessary.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/exynos/exynos_dp_core.h
drivers/video/exynos/exynos_dp_reg.c

index 4af4504cf5b188ba12174fb3e5526fde6c90f218..57b8a6531c0ea1fb58c9babf5423ed26c586f826 100644 (file)
@@ -105,7 +105,7 @@ u32 exynos_dp_get_lane1_link_training(struct exynos_dp_device *dp);
 u32 exynos_dp_get_lane2_link_training(struct exynos_dp_device *dp);
 u32 exynos_dp_get_lane3_link_training(struct exynos_dp_device *dp);
 void exynos_dp_reset_macro(struct exynos_dp_device *dp);
-int exynos_dp_init_video(struct exynos_dp_device *dp);
+void exynos_dp_init_video(struct exynos_dp_device *dp);
 
 void exynos_dp_set_video_color_format(struct exynos_dp_device *dp,
                                u32 color_depth,
index 1acba7417b38bf2d6557ec8584a8e665b4d0f45d..d909b834b05ec2b8c96c239355ca96c7a4a56c72 100644 (file)
@@ -1009,7 +1009,7 @@ void exynos_dp_reset_macro(struct exynos_dp_device *dp)
        writel(reg, dp->reg_base + EXYNOS_DP_PHY_TEST);
 }
 
-int exynos_dp_init_video(struct exynos_dp_device *dp)
+void exynos_dp_init_video(struct exynos_dp_device *dp)
 {
        u32 reg;
 
@@ -1027,8 +1027,6 @@ int exynos_dp_init_video(struct exynos_dp_device *dp)
 
        reg = VID_HRES_TH(2) | VID_VRES_TH(0);
        writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_8);
-
-       return 0;
 }
 
 void exynos_dp_set_video_color_format(struct exynos_dp_device *dp,