Prepare dropping the alias "dev" for struct drm_crtc::drm_dev. "drm_dev" is the better name as "dev" is usually a struct device pointer. No semantic changes. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- drivers/gpu/drm/sprd/sprd_dpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sprd/sprd_dpu.c b/drivers/gpu/drm/sprd/sprd_dpu.c index b96fc6837b0d..37709bf5a655 100644 --- a/drivers/gpu/drm/sprd/sprd_dpu.c +++ b/drivers/gpu/drm/sprd/sprd_dpu.c @@ -624,7 +624,7 @@ static void sprd_crtc_mode_set_nofb(struct drm_crtc *crtc) drm_display_mode_to_videomode(mode, &dpu->ctx.vm); - drm_for_each_encoder_mask(encoder, crtc->dev, + drm_for_each_encoder_mask(encoder, crtc->drm_dev, crtc->state->encoder_mask) { dsi = encoder_to_dsi(encoder); @@ -651,7 +651,7 @@ static void sprd_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *state) { struct sprd_dpu *dpu = to_sprd_crtc(crtc); - struct drm_device *drm = dpu->base.dev; + struct drm_device *drm = dpu->base.drm_dev; drm_crtc_vblank_off(&dpu->base); @@ -670,7 +670,7 @@ static void sprd_crtc_atomic_flush(struct drm_crtc *crtc, { struct sprd_dpu *dpu = to_sprd_crtc(crtc); - struct drm_device *drm = dpu->base.dev; + struct drm_device *drm = dpu->base.drm_dev; sprd_dpu_flip(dpu); -- 2.39.2