diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2020-09-11 15:20:30 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2020-10-27 10:20:36 +0100 |
commit | f433ff4d293867060f5bfea4e932f6a5b104f236 (patch) | |
tree | 7c1089c5f5c972a328bc0d51c27cdb81e3b27dc3 /drivers/gpu/drm/imx | |
parent | drm/imx: parallel-display: fix edid memory leak (diff) | |
download | linux-f433ff4d293867060f5bfea4e932f6a5b104f236.tar.xz linux-f433ff4d293867060f5bfea4e932f6a5b104f236.zip |
drm/imx: parallel-display: remove unused function enc_to_imxpd()
Remove leftover container_of helper, it has been replaced by
bridge_to_imxpd().
Fixes: fe141cedc433 ("drm/imx: pd: Use bus format/flags provided by the bridge when available")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r-- | drivers/gpu/drm/imx/parallel-display.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/imx/parallel-display.c b/drivers/gpu/drm/imx/parallel-display.c index ecf49f2ce268..726f6cc6fa25 100644 --- a/drivers/gpu/drm/imx/parallel-display.c +++ b/drivers/gpu/drm/imx/parallel-display.c @@ -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); |