drm/msm: call drm_put_dev directly in ->remove
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:34:29 +0000 (11:34 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:05:49 +0000 (11:05 +1000)
commit0ff420f7f50c7d429d1c00058a0350559c0b9bb5
tree1a62b3fb437952c91f2b4e9ac913a3e433909fe0
parent50fb3c3b2e7811474a27df3b9d6e054a7c4d2cd7
drm/msm: call drm_put_dev directly in ->remove

The drvdata pointer is already assigned to something useful.

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/msm/msm_drv.c