drm/tinydrm/mipi-dbi: Remove CMA helper dependency
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 22 Jul 2019 10:43:08 +0000 (12:43 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 25 Jul 2019 08:43:38 +0000 (10:43 +0200)
commit7c9f1312cfca15ce1f1ecf68133139fb096a8b4d
tree6d1bbae0fa203663ecc28c0e76aab2f3587a6799
parent84137b866e834ac937582b04ae9bed0a72356a6a
drm/tinydrm/mipi-dbi: Remove CMA helper dependency

mipi-dbi depends on the CMA helper through its use of
drm_fb_cma_get_gem_obj(). This is an unnecessary dependency to drag in for
drivers that only want to use the MIPI DBI interface part.
Avoid this by open coding the function.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190722104312.16184-6-noralf@tronnes.org
drivers/gpu/drm/tinydrm/mipi-dbi.c