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>
This commit is contained in:
Noralf Trønnes 2017-12-08 20:37:34 +01:00 • committed by Liviu Dudau
commit 5c7e5a22c1
2 changed files with 3 additions and 23 deletions