drm/tilcdc: call drm_put_dev directly from ->remove
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:34:25 +0000 (11:34 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:05:43 +0000 (11:05 +1000)
commitc84b4356571d8fb34acbc5522b07f256c0347a22
tree182ff98f036d27b4c9ddfd2b8379504deccbce36
parent9076dccfc532e1b00cb181304d3066aeb19ad45b
drm/tilcdc: call drm_put_dev directly from ->remove

tilcdc already stores the drm_device in the driver data pointer. So
use that.

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