projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fb3c3
)
drm/msm: call drm_put_dev directly in ->remove
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Dec 2013 10:34:29 +0000
(11:34 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 18 Dec 2013 01:05:49 +0000
(11:05 +1000)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_drv.c
b/drivers/gpu/drm/msm/msm_drv.c
index
8653769
..
aa5f354
100644
(file)
--- a/
drivers/gpu/drm/msm/msm_drv.c
+++ b/
drivers/gpu/drm/msm/msm_drv.c
@@
-783,7
+783,7
@@
static int msm_pdev_probe(struct platform_device *pdev)
static int msm_pdev_remove(struct platform_device *pdev)
{
- drm_p
latform_exit(&msm_driver, pdev
);
+ drm_p
ut_dev(platform_get_drvdata(pdev)
);
return 0;
}