diff options
author | Samuel Holland <samuel@sholland.org> | 2020-02-11 01:28:55 -0600 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-02-14 16:20:20 +0100 |
commit | dc84f0915128218f96a0c9c1628e078c95ae36f6 (patch) | |
tree | 5fc05f91a3e1324aa1658cc84f579cd44b1a1f0f /drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | |
parent | 2c77ae22ff8af10d84ae1e36e4ee0592061c9f86 (diff) |
drm/sun4i: dsi: Remove unused drv from driver context
This member is never used, so remove it.
Fixes: 133add5b5ad4 ("drm/sun4i: Add Allwinner A31 MIPI-DSI controller support")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200211072858.30784-1-samuel@sholland.org
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index a75fcb113172..3f6239c851c6 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -27,7 +27,6 @@ #include <drm/drm_probe_helper.h> #include "sun4i_crtc.h" -#include "sun4i_drv.h" #include "sun4i_tcon.h" #include "sun6i_mipi_dsi.h" @@ -1022,15 +1021,12 @@ static int sun6i_dsi_bind(struct device *dev, struct device *master, void *data) { struct drm_device *drm = data; - struct sun4i_drv *drv = drm->dev_private; struct sun6i_dsi *dsi = dev_get_drvdata(dev); int ret; if (!dsi->panel) return -EPROBE_DEFER; - dsi->drv = drv; - drm_encoder_helper_add(&dsi->encoder, &sun6i_dsi_enc_helper_funcs); ret = drm_encoder_init(drm, |