drm/udl: Unplugging a device now unregisters it
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jun 2016 14:36:21 +0000 (15:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 11:01:55 +0000 (13:01 +0200)
commit83264396234d4323bb36ee1680664566e6c60376
tree1d6e72db387b445875a50178f504977de7192bc9
parenta39be606f99d877838a34f5dd8c8be4f0a26ea2b
drm/udl: Unplugging a device now unregisters it

Rather than manually perform our unregistration actions before shutting
down the device, move them to drm_unplug_dev().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466778982-6974-4-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/udl/udl_drv.c