diff options
Diffstat (limited to 'drivers/staging/omapdrm/omap_crtc.c')
-rw-r--r-- | drivers/staging/omapdrm/omap_crtc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/omapdrm/omap_crtc.c b/drivers/staging/omapdrm/omap_crtc.c index fd09bcf..cffdf5e 100644 --- a/drivers/staging/omapdrm/omap_crtc.c +++ b/drivers/staging/omapdrm/omap_crtc.c @@ -320,8 +320,7 @@ struct drm_crtc *omap_crtc_init(struct drm_device *dev, fail: if (crtc) { - drm_crtc_cleanup(crtc); - kfree(omap_crtc); + omap_crtc_destroy(crtc); } return NULL; } |