Skip to content

Commit f433ff4

Browse files
committed
drm/imx: parallel-display: remove unused function enc_to_imxpd()
Remove leftover container_of helper, it has been replaced by bridge_to_imxpd(). Fixes: fe141ce ("drm/imx: pd: Use bus format/flags provided by the bridge when available") Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent 5f2ca76 commit f433ff4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/gpu/drm/imx/parallel-display.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ static inline struct imx_parallel_display *con_to_imxpd(struct drm_connector *c)
4141
return container_of(c, struct imx_parallel_display, connector);
4242
}
4343

44-
static inline struct imx_parallel_display *enc_to_imxpd(struct drm_encoder *e)
45-
{
46-
return container_of(e, struct imx_parallel_display, encoder);
47-
}
48-
4944
static inline struct imx_parallel_display *bridge_to_imxpd(struct drm_bridge *b)
5045
{
5146
return container_of(b, struct imx_parallel_display, bridge);

0 commit comments

Comments
 (0)