diff options
author | 2014-05-13 22:21:59 +0200 | |
---|---|---|
committer | 2014-05-14 13:12:24 +0200 | |
commit | 2206e6a11bf4acff9831b4dbfaa3c3adc7d6172f (patch) | |
tree | eb8a6ec4eb808f5b9fb65a960cb6c782ea75ef9b /drivers/gpu/drm/i915/i915_dma.c | |
parent | drm/i915: Use the connector name in fbdev debug messages (diff) | |
download | linux-2206e6a11bf4acff9831b4dbfaa3c3adc7d6172f.tar.gz linux-2206e6a11bf4acff9831b4dbfaa3c3adc7d6172f.tar.bz2 linux-2206e6a11bf4acff9831b4dbfaa3c3adc7d6172f.zip |
drm/i915: use dev_priv directly in i915_driver_unload
Noticed while playing with coccinelle.
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index d02c8de4bd6c..46f1decab76f 100644 --- 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; } |