diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2015-12-09 17:00:14 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-04-13 22:25:17 +0300 |
commit | ef3617c4b887a9b176210b4b80c0fe964cbe8c2a (patch) | |
tree | 2949e6cdc6b03e30725aa38f8283688454b25d9a /drivers/media/platform/s5p-g2d/g2d.h | |
parent | c1ac057173ba674d93afc8ddc5c91da1c61a951a (diff) | |
download | linux-ef3617c4b887a9b176210b4b80c0fe964cbe8c2a.tar.xz |
[media] s5p-g2d: remove non-device-tree init code
Exynos and Samsung S5P platforms has been fully converted to device
tree, so old platform device based init data can be now removed.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/s5p-g2d/g2d.h')
-rw-r--r-- | drivers/media/platform/s5p-g2d/g2d.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/platform/s5p-g2d/g2d.h b/drivers/media/platform/s5p-g2d/g2d.h index b0e52ab7ecdb..e31df541aa62 100644 --- a/drivers/media/platform/s5p-g2d/g2d.h +++ b/drivers/media/platform/s5p-g2d/g2d.h @@ -89,8 +89,3 @@ void g2d_set_flip(struct g2d_dev *d, u32 r); void g2d_set_v41_stretch(struct g2d_dev *d, struct g2d_frame *src, struct g2d_frame *dst); void g2d_set_cmd(struct g2d_dev *d, u32 c); - -static inline struct g2d_variant *g2d_get_drv_data(struct platform_device *pdev) -{ - return (struct g2d_variant *)platform_get_device_id(pdev)->driver_data; -} |