diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-25 19:39:21 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-06-28 13:41:05 +0300 |
commit | 2491244d7709d4e35f61d75ed3f6b4ea31b0a6f3 (patch) | |
tree | d3067073d6f80de1607a4ebda0e6229c8a8e4d31 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
parent | 620063e10ed48c63027c4f59dab97d2ead67f9f1 (diff) |
drm/omap: gem: Merge __omap_gem_get_pages() and omap_gem_attach_pages()
The __omap_gem_get_pages() function is a wrapper around
omap_gem_attach_pages() that returns the omap_obj->pages pointer through
a function argument. Some callers don't need the pages pointer, and all
of them can access omap_obj->pages directly. To simplify the code merge
the __omap_gem_get_pages() wrapper with omap_gem_attach_pages() and
update the callers accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions