[COMMON] fimc-is2: remvoe 'vb2_plane_cookie' operation
authorJeongtae Park <jtp.park@samsung.com>
Sun, 17 Jun 2018 08:05:03 +0000 (17:05 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:15 +0000 (17:05 +0900)
Change-Id: Ie955cbaa9eb934db4545234192c4e55689ee6d44
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-mem.c
drivers/media/platform/exynos/fimc-is2/fimc-is-mem.h

index 822cf8cbefca363086fb9e438270faf4cdd6f4bf..353c2c227eb434a36776d106c0e0e160d7389c46 100644 (file)
@@ -53,12 +53,6 @@ static inline ulong fimc_is_vb2_ion_plane_kvaddr(
        return (ulong)vb2_plane_vaddr(&vbuf->vb.vb2_buf, plane);
 }
 
-static inline ulong fimc_is_vb2_ion_plane_cookie(
-               struct fimc_is_vb2_buf *vbuf, u32 plane)
-{
-       return (ulong)vb2_plane_cookie(&vbuf->vb.vb2_buf, plane);
-}
-
 static dma_addr_t fimc_is_vb2_ion_plane_dvaddr(
                struct fimc_is_vb2_buf *vbuf, u32 plane)
 
@@ -125,7 +119,6 @@ static void fimc_is_bufcon_unmap(struct fimc_is_vb2_buf *vbuf,
 
 const struct fimc_is_vb2_buf_ops fimc_is_vb2_buf_ops_ion = {
        .plane_kvaddr   = fimc_is_vb2_ion_plane_kvaddr,
-       .plane_cookie   = fimc_is_vb2_ion_plane_cookie,
        .plane_dvaddr   = fimc_is_vb2_ion_plane_dvaddr,
        .bufcon_map     = fimc_is_bufcon_map,
        .bufcon_unmap   = fimc_is_bufcon_unmap,
index 531f402224df7cbde072b4483d17390873ea9b8f..d990cca68308bbda2990cb3a2aa28429865e2432 100644 (file)
@@ -22,7 +22,6 @@
 struct fimc_is_vb2_buf;
 struct fimc_is_vb2_buf_ops {
        ulong (*plane_kvaddr)(struct fimc_is_vb2_buf *vbuf, u32 plane);
-       ulong (*plane_cookie)(struct fimc_is_vb2_buf *vbuf, u32 plane);
        dma_addr_t (*plane_dvaddr)(struct fimc_is_vb2_buf *vbuf, u32 plane);
        dma_addr_t (*bufcon_map)(struct fimc_is_vb2_buf *vbuf, struct device *dev, int idx, struct dma_buf *dmabuf);
        void (*bufcon_unmap)(struct fimc_is_vb2_buf *vbuf, int idx);