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:
c0c9762
)
drm/i915: use dev_priv directly in i915_driver_unload
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 13 May 2014 20:21:59 +0000
(22:21 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 14 May 2014 11:12:24 +0000
(13:12 +0200)
Noticed while playing with coccinelle.
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_dma.c
b/drivers/gpu/drm/i915/i915_dma.c
index d02c8de4bd6c5b49a8675016d6b046c6d6f31b66..46f1decab76f629047e5b6ce576cd64063bc5b01 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_dma.c
+++ b/
drivers/gpu/drm/i915/i915_dma.c
@@
-1867,7
+1867,7
@@
int i915_driver_unload(struct drm_device *dev)
kmem_cache_destroy(dev_priv->slab);
pci_dev_put(dev_priv->bridge_dev);
- kfree(dev
->dev_private
);
+ kfree(dev
_priv
);
return 0;
}