summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1374.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2016-02-11 19:03:22 +0100
committerThierry Reding <treding@nvidia.com>2016-04-05 15:22:47 +0200
commit70293ed09decd1ec4ae5632af27cab73c16a50ba (patch)
tree0090dcecc572c84af17138168c491cf9a0714581 /drivers/rtc/rtc-ds1374.c
parentsoc/tegra: pmc: Protect public functions from potential race conditions (diff)
downloadlinux-70293ed09decd1ec4ae5632af27cab73c16a50ba.tar.xz
linux-70293ed09decd1ec4ae5632af27cab73c16a50ba.zip
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>
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
0 files changed, 0 insertions, 0 deletions