drm/bridge: spelling and coding style minor fixes
authorPhilippe Cornu <philippe.cornu@st.com>
Tue, 15 May 2018 20:37:36 +0000 (22:37 +0200)
committerPhilippe Cornu <philippe.cornu@st.com>
Thu, 17 May 2018 15:19:32 +0000 (17:19 +0200)
Minor fixes detected with "scripts/checkpatch.pl --strict"

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180515203736.9224-1-philippe.cornu@st.com
include/drm/drm_bridge.h

index 9917651a7fdddc891f09bde63697c5cf051ab575..70131ab57e8f2bb3af291a6a0f9979377a18bfc7 100644 (file)
@@ -97,7 +97,7 @@ struct drm_bridge_funcs {
        /**
         * @mode_fixup:
         *
-        * This callback is used to validate and adjust a mode. The paramater
+        * This callback is used to validate and adjust a mode. The parameter
         * mode is the display mode that should be fed to the next element in
         * the display chain, either the final &drm_connector or the next
         * &drm_bridge. The parameter adjusted_mode is the input mode the bridge
@@ -301,15 +301,15 @@ int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge,
                      struct drm_bridge *previous);
 
 bool drm_bridge_mode_fixup(struct drm_bridge *bridge,
-                       const struct drm_display_mode *mode,
-                       struct drm_display_mode *adjusted_mode);
+                          const struct drm_display_mode *mode,
+                          struct drm_display_mode *adjusted_mode);
 enum drm_mode_status drm_bridge_mode_valid(struct drm_bridge *bridge,
                                           const struct drm_display_mode *mode);
 void drm_bridge_disable(struct drm_bridge *bridge);
 void drm_bridge_post_disable(struct drm_bridge *bridge);
 void drm_bridge_mode_set(struct drm_bridge *bridge,
-                       struct drm_display_mode *mode,
-                       struct drm_display_mode *adjusted_mode);
+                        struct drm_display_mode *mode,
+                        struct drm_display_mode *adjusted_mode);
 void drm_bridge_pre_enable(struct drm_bridge *bridge);
 void drm_bridge_enable(struct drm_bridge *bridge);