summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-08-06 17:41:03 +0200
committerNoralf Trønnes <noralf@tronnes.org>2017-08-16 20:18:22 +0200
commit8d4acc18932092a54d10dd781c6106fff3110eb7 (patch)
tree2255d7d22b7e401716b0d94bffb5f6695d526b48
parentdrm/exynos: Use .dumb_map_offset and .dumb_destroy defaults (diff)
downloadlinux-8d4acc18932092a54d10dd781c6106fff3110eb7.tar.xz
linux-8d4acc18932092a54d10dd781c6106fff3110eb7.zip
drm/mgag200: Use the drm_driver.dumb_destroy default
drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default, so no need to set it. Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1502034068-51384-15-git-send-email-noralf@tronnes.org
-rw-r--r--drivers/gpu/drm/mgag200/mgag200_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.c b/drivers/gpu/drm/mgag200/mgag200_drv.c
index 4189160af726..74cdde2ee474 100644
--- a/drivers/gpu/drm/mgag200/mgag200_drv.c
+++ b/drivers/gpu/drm/mgag200/mgag200_drv.c
@@ -102,7 +102,6 @@ static struct drm_driver driver = {
.gem_free_object_unlocked = mgag200_gem_free_object,
.dumb_create = mgag200_dumb_create,
.dumb_map_offset = mgag200_dumb_mmap_offset,
- .dumb_destroy = drm_gem_dumb_destroy,
};
static struct pci_driver mgag200_pci_driver = {