diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2011-09-27 06:25:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-27 08:27:09 -0400 |
commit | dfdc4448e078d06bdba0da52db7176437877788f (patch) | |
tree | cb48f01e263a969601e6bd79eaf9638f1d1de59f /drivers/base/regmap | |
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/regmap')
-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, | |||
41 | 41 | ||
42 | static int regcache_indexed_sync(struct regmap *map) | 42 | static int regcache_indexed_sync(struct regmap *map) |
43 | { | 43 | { |
44 | int i; | 44 | unsigned int i; |
45 | int ret; | 45 | int ret; |
46 | 46 | ||
47 | for (i = 0; i < map->num_reg_defaults; i++) { | 47 | for (i = 0; i < map->num_reg_defaults; i++) { |