diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2011-09-27 10:25:04 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-27 12:27:09 (GMT) |
commit | dfdc4448e078d06bdba0da52db7176437877788f (patch) | |
tree | cb48f01e263a969601e6bd79eaf9638f1d1de59f | |
parent | 25ed1156ddf99f6d8feb87d0992b2ecb1fef667a (diff) | |
download | linux-fsl-qoriq-dfdc4448e078d06bdba0da52db7176437877788f.tar.xz |
regmap: Fix signed/unsigned comparison
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | drivers/base/regmap/regcache-indexed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-indexed.c b/drivers/base/regmap/regcache-indexed.c index ff8b44c..268497ae 100644 --- a/drivers/base/regmap/regcache-indexed.c +++ b/drivers/base/regmap/regcache-indexed.c @@ -41,7 +41,7 @@ static int regcache_indexed_write(struct regmap *map, unsigned int reg, static int regcache_indexed_sync(struct regmap *map) { - int i; + unsigned int i; int ret; for (i = 0; i < map->num_reg_defaults; i++) { |