summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/dsi/dsi.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2019-06-17 22:12:53 +0200
committerSean Paul <seanpaul@chromium.org>2019-06-20 20:42:09 +0200
commit09951aaa7229b253b0e00979d6c6d17b20e16fe4 (patch)
tree5dcaaab988f34c9c14ccc1db9ef2f4b5ca18fbde /drivers/gpu/drm/msm/dsi/dsi.h
parentdrm/msm/dsi: Split mode_flags out of msm_dsi_host_get_panel() (diff)
downloadlinux-09951aaa7229b253b0e00979d6c6d17b20e16fe4.tar.xz
linux-09951aaa7229b253b0e00979d6c6d17b20e16fe4.zip
drm/msm/dsi: Don't store dsi host mode_flags in msm_dsi
It's a bit dangerous to store the flags in msm_dsi since there's no way to tell when they're populated. Fortunately the only place that uses them is the same place that fills them. So just use a local variable and delete the struct member. Reviewed-by: Rob Clark <robdclark@chromium.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-5-sean@poorly.run
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi.h')
-rw-r--r--drivers/gpu/drm/msm/dsi/dsi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi.h b/drivers/gpu/drm/msm/dsi/dsi.h
index 8bdc48ca0b67..e0bbe8128aef 100644
--- a/drivers/gpu/drm/msm/dsi/dsi.h
+++ b/drivers/gpu/drm/msm/dsi/dsi.h
@@ -79,7 +79,6 @@ struct msm_dsi {
*/
struct drm_panel *panel;
struct drm_bridge *external_bridge;
- unsigned long device_flags;
struct device *phy_dev;
bool phy_enabled;