diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-08-23 06:54:16 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-08-23 09:23:19 -0400 |
commit | 1ec7be9c9f3ee416d5c97c1c649f3cba9e41ee1d (patch) | |
tree | 707b1bb3a152decbd4855344524c8b5cbdc5743c | |
parent | 09d00d170f8da388761cc29de1cf8c12c69c1300 (diff) |
video: exynos_dp: change return type of exynos_dp_init_video to void
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>
-rw-r--r-- | drivers/video/exynos/exynos_dp_core.h | 2 | ||||
-rw-r--r-- | drivers/video/exynos/exynos_dp_reg.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/exynos/exynos_dp_core.h b/drivers/video/exynos/exynos_dp_core.h index 4af4504cf5b1..57b8a6531c0e 100644 --- a/drivers/video/exynos/exynos_dp_core.h +++ b/drivers/video/exynos/exynos_dp_core.h | |||
@@ -105,7 +105,7 @@ u32 exynos_dp_get_lane1_link_training(struct exynos_dp_device *dp); | |||
105 | u32 exynos_dp_get_lane2_link_training(struct exynos_dp_device *dp); | 105 | u32 exynos_dp_get_lane2_link_training(struct exynos_dp_device *dp); |
106 | u32 exynos_dp_get_lane3_link_training(struct exynos_dp_device *dp); | 106 | u32 exynos_dp_get_lane3_link_training(struct exynos_dp_device *dp); |
107 | void exynos_dp_reset_macro(struct exynos_dp_device *dp); | 107 | void exynos_dp_reset_macro(struct exynos_dp_device *dp); |
108 | int exynos_dp_init_video(struct exynos_dp_device *dp); | 108 | void exynos_dp_init_video(struct exynos_dp_device *dp); |
109 | 109 | ||
110 | void exynos_dp_set_video_color_format(struct exynos_dp_device *dp, | 110 | void exynos_dp_set_video_color_format(struct exynos_dp_device *dp, |
111 | u32 color_depth, | 111 | u32 color_depth, |
diff --git a/drivers/video/exynos/exynos_dp_reg.c b/drivers/video/exynos/exynos_dp_reg.c index 1acba7417b38..d909b834b05e 100644 --- a/drivers/video/exynos/exynos_dp_reg.c +++ b/drivers/video/exynos/exynos_dp_reg.c | |||
@@ -1009,7 +1009,7 @@ void exynos_dp_reset_macro(struct exynos_dp_device *dp) | |||
1009 | writel(reg, dp->reg_base + EXYNOS_DP_PHY_TEST); | 1009 | writel(reg, dp->reg_base + EXYNOS_DP_PHY_TEST); |
1010 | } | 1010 | } |
1011 | 1011 | ||
1012 | int exynos_dp_init_video(struct exynos_dp_device *dp) | 1012 | void exynos_dp_init_video(struct exynos_dp_device *dp) |
1013 | { | 1013 | { |
1014 | u32 reg; | 1014 | u32 reg; |
1015 | 1015 | ||
@@ -1027,8 +1027,6 @@ int exynos_dp_init_video(struct exynos_dp_device *dp) | |||
1027 | 1027 | ||
1028 | reg = VID_HRES_TH(2) | VID_VRES_TH(0); | 1028 | reg = VID_HRES_TH(2) | VID_VRES_TH(0); |
1029 | writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_8); | 1029 | writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_8); |
1030 | |||
1031 | return 0; | ||
1032 | } | 1030 | } |
1033 | 1031 | ||
1034 | void exynos_dp_set_video_color_format(struct exynos_dp_device *dp, | 1032 | void exynos_dp_set_video_color_format(struct exynos_dp_device *dp, |