drm/atomic: Don't open-code CRTC state destroy
authorDaniel Stone <daniels@collabora.com>
Mon, 20 Apr 2015 18:22:50 +0000 (19:22 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 May 2015 09:03:02 +0000 (11:03 +0200)
commit9b0adc29d203116cadd81b663518104cfb19b48c
treeaa53bb47557ab3c2298e2cb91621df85ca12e86e
parentbfcd74d2aeda25a78f7cc92f80650218b1bce0ca
drm/atomic: Don't open-code CRTC state destroy

One failure path in crtc_helper had an open-coded CRTC state destroy
which didn't actually call through to the driver's specified state
destroy. Fix that.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc_helper.c