drm/omap: call drm_put_dev directly in ->remove
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:34:26 +0000 (11:34 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:05:44 +0000 (11:05 +1000)
commitfd3c02531461924853db65f2664db361b53a70d3
tree05d32f34cf62603af040b16b3f7e44380c7f2478
parentc84b4356571d8fb34acbc5522b07f256c0347a22
drm/omap: call drm_put_dev directly in ->remove

Again omap already sets the driver data pointer to the drm_device.

Also drop the driver unregister call, that should be (and already is)
done in the module unload hook.

Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/omapdrm/omap_drv.c