udmabuf: separate out creating/destroying scatter-table
authorGurchetan Singh <gurchetansingh@chromium.org>
Tue, 3 Dec 2019 01:36:26 +0000 (17:36 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 5 Dec 2019 07:57:45 +0000 (08:57 +0100)
commit17a7ce203490459cff14fb1c8f9a15d65fd1c544
tree075675993c6e66c8f411a552f1f4b75f40a876f5
parentc1bbed668997268c9edccdc9db1bd1487d9e20b0
udmabuf: separate out creating/destroying scatter-table

These are nice functions and can be re-used.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20191203013627.85991-3-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/dma-buf/udmabuf.c