drm/imx: Make pipe number unsigned
authorThierry Reding <treding@nvidia.com>
Tue, 15 Dec 2015 11:20:51 +0000 (12:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Dec 2015 12:36:18 +0000 (13:36 +0100)
commitd2ab8ad9713de1bd5e0da187263e35b2eea57e1c
tree11ce544a002984c177064e63094af4825d3ce94a
parent20143598f731b71e35cba82ad29dc9d2e3788323
drm/imx: Make pipe number unsigned

There's no reason whatsoever why this should ever be negative. The same
goes for the number of pipes added to the DRM device.

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450178476-26284-4-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/imx/imx-drm-core.c
drivers/gpu/drm/imx/imx-drm.h