drm/bridge: correct DRM_BRIDGE_OP_EDID documentation
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 9 Mar 2024 23:38:43 +0000 (01:38 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 14 Mar 2024 13:21:23 +0000 (15:21 +0200)
While the commit d807ad80d811 ("drm/bridge: add ->edid_read hook and
drm_bridge_edid_read()") and the commit 27b8f91c08d9 ("drm/bridge:
remove ->get_edid callback") replaced ->get_edid() callback with the
->edid_read(), they failed to update documentation. Fix the drm_bridge
docs to point to edid_read().

Fixes: 27b8f91c08d9 ("drm/bridge: remove ->get_edid callback")
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240310-drm-bridge-fix-docs-v1-1-70d3d741cb7a@linaro.org
include/drm/drm_bridge.h

index 3606e1a7f965b7ae3d5ac0acc2b5d1a68bbfee38..4baca0d9107b059a79e15949f0e831128cb0a573 100644 (file)
@@ -541,7 +541,7 @@ struct drm_bridge_funcs {
         * The @get_modes callback is mostly intended to support non-probeable
         * displays such as many fixed panels. Bridges that support reading
         * EDID shall leave @get_modes unimplemented and implement the
-        * &drm_bridge_funcs->get_edid callback instead.
+        * &drm_bridge_funcs->edid_read callback instead.
         *
         * This callback is optional. Bridges that implement it shall set the
         * DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops.
@@ -687,7 +687,7 @@ enum drm_bridge_ops {
        /**
         * @DRM_BRIDGE_OP_EDID: The bridge can retrieve the EDID of the display
         * connected to its output. Bridges that set this flag shall implement
-        * the &drm_bridge_funcs->get_edid callback.
+        * the &drm_bridge_funcs->edid_read callback.
         */
        DRM_BRIDGE_OP_EDID = BIT(1),
        /**