drm drm_fb_helper: destroy modes
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 1 Feb 2012 10:38:22 +0000 (11:38 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2012 09:51:13 +0000 (09:51 +0000)
commita1b7736dac5f2d5876e68c47a0fce3f423840070
treec67d5086847e17d04848e57f8ed25bd37ad85520
parent554f1d7888d4a1055965198d0ac46ba50e8b684e
drm drm_fb_helper: destroy modes

drm_setup_crtcs allocated modes using drm_mode_duplicate. Free
them in drm_fb_helper_crtc_free.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c