diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2011-09-27 11:25:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-27 13:27:09 +0100 |
commit | dfdc4448e078d06bdba0da52db7176437877788f (patch) | |
tree | cb48f01e263a969601e6bd79eaf9638f1d1de59f /drivers/base | |
parent | 25ed1156ddf99f6d8feb87d0992b2ecb1fef667a (diff) |
regmap: Fix signed/unsigned comparison
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base')
-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 ff8b44ce044..268497aee46 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++) { |