projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405bea7
)
drm/armada: directly call drm_put_dev in ->remove
author
Daniel Vetter
<
[email protected]
>
Wed, 11 Dec 2013 10:34:28 +0000
(11:34 +0100)
committer
Dave Airlie
<
[email protected]
>
Wed, 18 Dec 2013 01:05:48 +0000
(11:05 +1000)
Again no apparent user of the driver data field.
Cc: Russell King <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/armada/armada_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/armada/armada_drv.c
b/drivers/gpu/drm/armada/armada_drv.c
index 4f2b28354915c68fcbc730af9ef8b50142ef26bb..069f64533ac326676467f89a998e476255fb8255 100644
(file)
--- a/
drivers/gpu/drm/armada/armada_drv.c
+++ b/
drivers/gpu/drm/armada/armada_drv.c
@@
-128,6
+128,7
@@
static int armada_drm_load(struct drm_device *dev, unsigned long flags)
return -ENOMEM;
}
+ platform_set_drvdata(dev->platformdev, dev);
dev->dev_private = priv;
/* Get the implementation specific driver data. */
@@
-376,7
+377,7
@@
static int armada_drm_probe(struct platform_device *pdev)
static int armada_drm_remove(struct platform_device *pdev)
{
- drm_p
latform_exit(&armada_drm_driver, pdev
);
+ drm_p
ut_dev(platform_get_drvdata(pdev)
);
return 0;
}