drm/omap: remove align_pitch()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Apr 2016 15:18:37 +0000 (18:18 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 6 Jun 2016 07:14:27 +0000 (10:14 +0300)
commit6a5228fdf0a4636fdf5ce616c35264e0c0b26c7c
treea5449db5aecf5c6b243956aac5c946d8a82bac4e
parent63871f713e7d20446ba751ece14a2ba8f3f97d1d
drm/omap: remove align_pitch()

The previous commit removed aligning the pitch to SGX's pitch
requirement from align_pitch(). What's left is effectively a function
that returns width * bytespp.

To clean up the driver, we can remove the function and have the
calculation inline in the two places which call align_pitch().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_fbdev.c
drivers/gpu/drm/omapdrm/omap_gem.c