[PATCH v3 3/5] drm/omap: Fix ugliest indentation style breaks from previous patch

Jyri Sarha jsarha at ti.com
Tue Mar 21 15:06:40 UTC 2017


Fix the most ugly indentation style breaks left by the previous
coccilnelle patch.

Signed-off-by: Jyri Sarha <jsarha at ti.com>
---
 drivers/gpu/drm/omapdrm/dss/dispc.c   | 5 ++---
 drivers/gpu/drm/omapdrm/dss/omapdss.h | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c
index 17712a3..c7457ad 100644
--- a/drivers/gpu/drm/omapdrm/dss/dispc.c
+++ b/drivers/gpu/drm/omapdrm/dss/dispc.c
@@ -1797,8 +1797,7 @@ static void dispc_ovl_set_scaling(enum omap_plane_id plane,
 		rotation);
 }
 
-static void dispc_ovl_set_rotation_attrs(enum omap_plane_id plane,
-					 u8 rotation,
+static void dispc_ovl_set_rotation_attrs(enum omap_plane_id plane, u8 rotation,
 		enum omap_dss_rotation_type rotation_type,
 		bool mirroring, enum omap_color_mode color_mode)
 {
@@ -2829,7 +2828,7 @@ static int dispc_ovl_setup_common(enum omap_plane_id plane,
 }
 
 int dispc_ovl_setup(enum omap_plane_id plane,
-		    const struct omap_overlay_info *oi,
+		const struct omap_overlay_info *oi,
 		bool replication, const struct videomode *vm,
 		bool mem_to_mem)
 {
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
index 9b1a55f..b1b7b9d 100644
--- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
+++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
@@ -877,7 +877,7 @@ void dispc_mgr_set_gamma(enum omap_channel channel,
 void dispc_ovl_set_channel_out(enum omap_plane_id plane,
 		enum omap_channel channel);
 int dispc_ovl_setup(enum omap_plane_id plane,
-		    const struct omap_overlay_info *oi,
+		const struct omap_overlay_info *oi,
 		bool replication, const struct videomode *vm, bool mem_to_mem);
 
 enum omap_dss_output_id dispc_mgr_get_supported_outputs(enum omap_channel channel);
-- 
1.9.1



More information about the dri-devel mailing list