drm: drop _mode_ from drm_mode_connector_attach_encoder
Again to align with the usual prefix of just drm_connector_. Again done with sed + manual fixup for indent issues. Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180709084016.23750-7-daniel.vetter@ffwll.ch
This commit is contained in:
@@ -623,7 +623,7 @@ static int sun4i_hdmi_bind(struct device *dev, struct device *master,
|
||||
ret = cec_register_adapter(hdmi->cec_adap, dev);
|
||||
if (ret < 0)
|
||||
goto err_cleanup_connector;
|
||||
drm_mode_connector_attach_encoder(&hdmi->connector, &hdmi->encoder);
|
||||
drm_connector_attach_encoder(&hdmi->connector, &hdmi->encoder);
|
||||
|
||||
return 0;
|
||||
|
||||
|
@@ -149,7 +149,7 @@ int sun4i_lvds_init(struct drm_device *drm, struct sun4i_tcon *tcon)
|
||||
goto err_cleanup_connector;
|
||||
}
|
||||
|
||||
drm_mode_connector_attach_encoder(&lvds->connector,
|
||||
drm_connector_attach_encoder(&lvds->connector,
|
||||
&lvds->encoder);
|
||||
|
||||
ret = drm_panel_attach(tcon->panel, &lvds->connector);
|
||||
|
@@ -215,7 +215,7 @@ int sun4i_rgb_init(struct drm_device *drm, struct sun4i_tcon *tcon)
|
||||
goto err_cleanup_connector;
|
||||
}
|
||||
|
||||
drm_mode_connector_attach_encoder(&rgb->connector,
|
||||
drm_connector_attach_encoder(&rgb->connector,
|
||||
&rgb->encoder);
|
||||
|
||||
ret = drm_panel_attach(tcon->panel, &rgb->connector);
|
||||
|
@@ -623,7 +623,7 @@ static int sun4i_tv_bind(struct device *dev, struct device *master,
|
||||
}
|
||||
tv->connector.interlace_allowed = true;
|
||||
|
||||
drm_mode_connector_attach_encoder(&tv->connector, &tv->encoder);
|
||||
drm_connector_attach_encoder(&tv->connector, &tv->encoder);
|
||||
|
||||
return 0;
|
||||
|
||||
|
@@ -941,7 +941,7 @@ static int sun6i_dsi_bind(struct device *dev, struct device *master,
|
||||
goto err_cleanup_connector;
|
||||
}
|
||||
|
||||
drm_mode_connector_attach_encoder(&dsi->connector, &dsi->encoder);
|
||||
drm_connector_attach_encoder(&dsi->connector, &dsi->encoder);
|
||||
drm_panel_attach(dsi->panel, &dsi->connector);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user