gpu: host1x: Consistently use unsigned int for counts
authorThierry Reding <treding@nvidia.com>
Wed, 22 Jun 2016 14:44:07 +0000 (16:44 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:23 +0000 (11:59 +0200)
commit14c95fc896e1d3929abde448fd86c07bdbae56d5
tree78b837fe661ba226e33e4ff824b1ef475f5867cc
parent57574bd779852bb7328ade70c951b681b54a7ece
gpu: host1x: Consistently use unsigned int for counts

The number of channels, syncpoints, bases and mlocks can never be
negative, so use unsigned int instead of int. Also make loop variables
the same type for consistency.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/channel.c
drivers/gpu/host1x/debug.c
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/hw/cdma_hw.c
drivers/gpu/host1x/hw/debug_hw.c
drivers/gpu/host1x/hw/intr_hw.c
drivers/gpu/host1x/hw/syncpt_hw.c
drivers/gpu/host1x/syncpt.c
drivers/gpu/host1x/syncpt.h