soc/tegra: pmc: Change powergate and rail IDs to be an unsigned type
authorJon Hunter <jonathanh@nvidia.com>
Thu, 11 Feb 2016 18:03:22 +0000 (18:03 +0000)
committerThierry Reding <treding@nvidia.com>
Tue, 5 Apr 2016 13:22:47 +0000 (15:22 +0200)
commit70293ed09decd1ec4ae5632af27cab73c16a50ba
tree0090dcecc572c84af17138168c491cf9a0714581
parente8cf6616a346029fe3e3931dd34fc589fade4b6e
soc/tegra: pmc: Change powergate and rail IDs to be an unsigned type

The Tegra powergate and rail IDs are always positive values and so change
the type to be unsigned and remove the tests to see if the ID is less
than zero. Update the Tegra DC powergate type to be an unsigned as well.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.h
drivers/soc/tegra/pmc.c
include/soc/tegra/pmc.h