summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/hdlcd_drv.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-12-08 20:37:34 +0100
committerLiviu Dudau <Liviu.Dudau@arm.com>2018-07-31 16:31:49 +0100
commit5c7e5a22c126e4d7839e6bdcc05b3c4dfa945a72 (patch)
treec17d897678320100b604c1490f76f3f9ef4f01a9 /drivers/gpu/drm/arm/hdlcd_drv.h
parent3fce4618279373efc59a91adb16c11da46cd69e5 (diff)
downloadlinux-5c7e5a22c126e4d7839e6bdcc05b3c4dfa945a72.tar.bz2
drm/arm/hdlcd: Use drm_mode_config_helper_suspend/resume()
Replace driver's code with the generic helpers that do the same thing including the NULL check. Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Brian Starkey <brian.starkey@arm.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_drv.h')
-rw-r--r--drivers/gpu/drm/arm/hdlcd_drv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_drv.h b/drivers/gpu/drm/arm/hdlcd_drv.h
index 56f34dfff640..58d75d7e1b20 100644
--- a/drivers/gpu/drm/arm/hdlcd_drv.h
+++ b/drivers/gpu/drm/arm/hdlcd_drv.h
@@ -12,7 +12,6 @@ struct hdlcd_drm_private {
struct drm_fbdev_cma *fbdev;
struct drm_crtc crtc;
struct drm_plane *plane;
- struct drm_atomic_state *state;
#ifdef CONFIG_DEBUG_FS
atomic_t buffer_underrun_count;
atomic_t bus_error_count;