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>
Šī revīzija ir iekļauta:
Jon Hunter
2016-02-11 18:03:22 +00:00
revīziju iesūtīja Thierry Reding
vecāks e8cf6616a3
revīzija 70293ed09d
3 mainīti faili ar 37 papildinājumiem un 36 dzēšanām

Parādīt failu

@@ -121,7 +121,7 @@ struct tegra_dc {
spinlock_t lock;
struct drm_crtc base;
int powergate;
unsigned int powergate;
int pipe;
struct clk *clk;