drm/cirrus: fix connector leak at unload
authorRob Clark <robdclark@gmail.com>
Fri, 11 Jan 2019 14:02:34 +0000 (09:02 -0500)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Jan 2019 07:39:17 +0000 (08:39 +0100)
commitf5d5ef72cf7523c43fa7e209418fa0289c638442
tree268fae4f055be1c0bb916493297779fd70249069
parent19b85cfabf5c78834c4374347846ca80784e9e42
drm/cirrus: fix connector leak at unload

This fixes an '*ERROR* connector VGA-2 leaked!' splat at driver unload.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190111140242.29002-1-robdclark@gmail.com
[ kraxel: adapt to commit "c2d88e06bc drm: Move the legacy kms
          disable_all helper to crtc helpers" ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/cirrus/cirrus_fbdev.c