OSDN Git Service

gpio: tegra: Use unsigned int where possible
authorThierry Reding <treding@nvidia.com>
Mon, 24 Jul 2017 14:55:08 +0000 (16:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:03:38 +0000 (15:03 +0200)
commit539b7a39f5ec4cfb573af1e65aeed0edf32be8bb
treed753e977fca7230c895ce50b870d500310d76a85
parent4bc178608baec1723d9a6bb70cd3360a0a4edd21
gpio: tegra: Use unsigned int where possible

In most of the cases, integers in this file can't be negative, so the
type can be more restricted for clarity.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c