video: exynos_dp: change return type of exynos_dp_init_video to void
Subsystems (2)
PATCH 1/2 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 <[email protected]>
--- drivers/video/exynos/exynos_dp_core.h | 2 +- drivers/video/exynos/exynos_dp_reg.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)
drivers/video/exynos/exynos_dp_core.h +1 -1
@@ -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,
drivers/video/exynos/exynos_dp_reg.c +1 -3
@@ -994,7 +994,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;
@@ -1012,8 +1012,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,
Signature · 1 line
1.7.1
Florian Tobias Schandinat
AppliedQuoted 4 lines · Jingoo Han
This patch changes return type of
exynos_dp_init_videoto void, because the return value is unnecessary.Signed-off-by Jingoo Han <[email protected]>
Applied.
Thanks,
Florian Tobias Schandinat
Quoted 40 lines
--- drivers/video/exynos/exynos_dp_core.h | 2 +- drivers/video/exynos/exynos_dp_reg.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)drivers/video/exynos/exynos_dp_core.h +1
-1@@ -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,drivers/video/exynos/exynos_dp_reg.c +1
-3@@ -994,7 +994,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;@@ -1012,8 +1012,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,