Commit 1ec7be9c authored by Jingoo Han's avatar Jingoo Han Committed by Florian Tobias Schandinat

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
parent 09d00d17
...@@ -105,7 +105,7 @@ u32 exynos_dp_get_lane1_link_training(struct exynos_dp_device *dp); ...@@ -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_lane2_link_training(struct exynos_dp_device *dp);
u32 exynos_dp_get_lane3_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); 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, void exynos_dp_set_video_color_format(struct exynos_dp_device *dp,
u32 color_depth, u32 color_depth,
......
...@@ -1009,7 +1009,7 @@ void exynos_dp_reset_macro(struct exynos_dp_device *dp) ...@@ -1009,7 +1009,7 @@ void exynos_dp_reset_macro(struct exynos_dp_device *dp)
writel(reg, dp->reg_base + EXYNOS_DP_PHY_TEST); 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; u32 reg;
...@@ -1027,8 +1027,6 @@ int exynos_dp_init_video(struct exynos_dp_device *dp) ...@@ -1027,8 +1027,6 @@ int exynos_dp_init_video(struct exynos_dp_device *dp)
reg = VID_HRES_TH(2) | VID_VRES_TH(0); reg = VID_HRES_TH(2) | VID_VRES_TH(0);
writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_8); writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_8);
return 0;
} }
void exynos_dp_set_video_color_format(struct exynos_dp_device *dp, void exynos_dp_set_video_color_format(struct exynos_dp_device *dp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment