Skip to content

Commit 23a6502

Browse files
committed
drm/imx: dw_hdmi-imx: remove empty encoder_disable callback
This has not been required since commit 75229ec ("drm: Make drm_encoder_helper_funcs optional"). Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent a67d508 commit 23a6502

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/gpu/drm/imx/dw_hdmi-imx.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ static int dw_hdmi_imx_parse_dt(struct imx_hdmi *hdmi)
111111
return 0;
112112
}
113113

114-
static void dw_hdmi_imx_encoder_disable(struct drm_encoder *encoder)
115-
{
116-
}
117-
118114
static void dw_hdmi_imx_encoder_enable(struct drm_encoder *encoder)
119115
{
120116
struct imx_hdmi *hdmi = enc_to_imx_hdmi(encoder);
@@ -140,7 +136,6 @@ static int dw_hdmi_imx_atomic_check(struct drm_encoder *encoder,
140136

141137
static const struct drm_encoder_helper_funcs dw_hdmi_imx_encoder_helper_funcs = {
142138
.enable = dw_hdmi_imx_encoder_enable,
143-
.disable = dw_hdmi_imx_encoder_disable,
144139
.atomic_check = dw_hdmi_imx_atomic_check,
145140
};
146141

0 commit comments

Comments
 (0)