drm: Release resources with a safer function
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 7 Oct 2016 07:27:41 +0000 (09:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Oct 2016 09:20:48 +0000 (11:20 +0200)
commit9a47dba1f93148acb4e74f07716df7fad989c2e0
treead0cef38177660cfbfadc4dbb07da951c3469a80
parent67c8f116f5d59df46c2be99674542b43195b21d7
drm: Release resources with a safer function

We should use 'ida_simple_remove()' instead of 'ida_remove()' when freeing
resources allocated with 'ida_simple_get()'.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1475825261-7735-1-git-send-email-christophe.jaillet@wanadoo.fr
drivers/gpu/drm/drm_connector.c