drm/rockchip: Use atomic PM helpers
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 6 Jun 2016 14:53:32 +0000 (16:53 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jun 2016 15:13:19 +0000 (17:13 +0200)
commit5a5873830972e7d8983dd205b3686f728047d556
tree25f293b6b5648b34c52eaa8b2c391abd95e75762
parent7442148e51e0a2b8bc9f9fa056af555406a8af01
drm/rockchip: Use atomic PM helpers

This driver was still using the old legacy helpers and that caused a few
NULL dereferences when trying to call empty callbacks.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Caesar Wang <wxt@rock-chips.com>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465224813-7359-1-git-send-email-tomeu.vizoso@collabora.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h