drm/bridge: Rename argument from crtc to bridge
authorLinus Walleij <[email protected]>
Mon, 29 Jan 2018 09:55:31 +0000 (10:55 +0100)
committerLinus Walleij <[email protected]>
Wed, 7 Feb 2018 08:06:37 +0000 (09:06 +0100)
Why is the argument to ->mode_valid() called "crtc"?
I guess a copy/paste error. Fix it.

Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
include/drm/drm_bridge.h

index bb7b97dfb93ee7e8de43dc5e81c82affdf729714..3270fec469798fc6cdb20c75e96c0be311b0d3e6 100644 (file)
@@ -91,7 +91,7 @@ struct drm_bridge_funcs {
         *
         * drm_mode_status Enum
         */
-       enum drm_mode_status (*mode_valid)(struct drm_bridge *crtc,
+       enum drm_mode_status (*mode_valid)(struct drm_bridge *bridge,
                                           const struct drm_display_mode *mode);
 
        /**