Commit f433ff4d authored by Philipp Zabel's avatar Philipp Zabel

drm/imx: parallel-display: remove unused function enc_to_imxpd()

Remove leftover container_of helper, it has been replaced by
bridge_to_imxpd().

Fixes: fe141ced ("drm/imx: pd: Use bus format/flags provided by the bridge when available")
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 5f2ca76d
......@@ -41,11 +41,6 @@ static inline struct imx_parallel_display *con_to_imxpd(struct drm_connector *c)
return container_of(c, struct imx_parallel_display, connector);
}
static inline struct imx_parallel_display *enc_to_imxpd(struct drm_encoder *e)
{
return container_of(e, struct imx_parallel_display, encoder);
}
static inline struct imx_parallel_display *bridge_to_imxpd(struct drm_bridge *b)
{
return container_of(b, struct imx_parallel_display, bridge);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment