diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-08-17 18:21:31 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-09-02 14:22:20 +0200 |
commit | 4ee73624e0d0fd647ede3b17187ba98f2aa9421c (patch) | |
tree | 920beadc4b25ad0f81c9f865094728715dcb7c64 /drivers/gpu/drm/armada/armada_drv.c | |
parent | 90378e58919285637aa0f063c04ba0c6449d98b1 (diff) | |
download | linux-next-4ee73624e0d0fd647ede3b17187ba98f2aa9421c.tar.gz |
drm/armada: Use .dumb_map_offset and .dumb_destroy defaults
This driver can use the drm_driver.dumb_destroy and
drm_driver.dumb_map_offset defaults, so no need to set them.
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1502986891-36764-3-git-send-email-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/armada/armada_drv.c')
-rw-r--r-- | drivers/gpu/drm/armada/armada_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index 0b3227c039d7..2fbd9d3393e8 100644 --- a/drivers/gpu/drm/armada/armada_drv.c +++ b/drivers/gpu/drm/armada/armada_drv.c @@ -70,8 +70,6 @@ static struct drm_driver armada_drm_driver = { .gem_prime_export = armada_gem_prime_export, .gem_prime_import = armada_gem_prime_import, .dumb_create = armada_gem_dumb_create, - .dumb_map_offset = armada_gem_dumb_map_offset, - .dumb_destroy = armada_gem_dumb_destroy, .gem_vm_ops = &armada_gem_vm_ops, .major = 1, .minor = 0, |