]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
dma_buf: remove device parameter from attach callback v2
authorChristian König <christian.koenig@amd.com>
Mon, 28 May 2018 09:47:52 +0000 (11:47 +0200)
committerChristian König <easy2remember.chk@googlemail.com>
Wed, 20 Jun 2018 13:59:34 +0000 (15:59 +0200)
commita19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c
treed8bb44f202176642279338f7815a251bb44d6d33
parent2227a7a219fdd2b925b1e861f36255efd149ff6d
dma_buf: remove device parameter from attach callback v2

The device parameter is completely unused because it is available in the
attachment structure as well.

v2: fix kerneldoc as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/226643/
drivers/dma-buf/dma-buf.c
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
drivers/gpu/drm/drm_prime.c
drivers/gpu/drm/udl/udl_dmabuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
drivers/media/common/videobuf2/videobuf2-dma-contig.c
drivers/media/common/videobuf2/videobuf2-dma-sg.c
drivers/media/common/videobuf2/videobuf2-vmalloc.c
include/drm/drm_prime.h
include/linux/dma-buf.h