]> git.baikalelectronics.ru Git - kernel.git/commit
drm/arm/hdlcd: Use drm_mode_config_helper_suspend/resume()
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 8 Dec 2017 19:37:34 +0000 (20:37 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 31 Jul 2018 15:31:49 +0000 (16:31 +0100)
commitd3201c6da2733a07fb3f3f2288f0fe8d19d3d6ba
treec17d897678320100b604c1490f76f3f9ef4f01a9
parent2fde2a8affca106cf1bde1946ea94b602b8337f2
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>
drivers/gpu/drm/arm/hdlcd_drv.c
drivers/gpu/drm/arm/hdlcd_drv.h