drm/vc4: hdmi: Rename drm_encoder pointer in mode_valid
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:34 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:14:52 +0000 (18:14 +0200)
commit11a1731eb6eac76a446d837dba115e67d24a6ee1
treefa8ae82442b287c453d5e0e7853f8e04f15055d7
parent4c55c2c40dc9a2914e668cd9152200653b99ff4a
drm/vc4: hdmi: Rename drm_encoder pointer in mode_valid

The mode_valid hook on the encoder uses a pointer to a drm_encoder called
crtc, which is pretty confusing. Let's rename it to encoder to make it
clear what it is.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7fbabab03992efe4a3a3640ac5ee2bb49b1c7338.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c