summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regcache-indexed.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2011-09-27 12:25:04 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-27 14:27:09 +0200
commitdfdc4448e078d06bdba0da52db7176437877788f (patch)
treecb48f01e263a969601e6bd79eaf9638f1d1de59f /drivers/base/regmap/regcache-indexed.c
parentregmap: Remove redundant member `word_size' from regcache_rbtree_node (diff)
downloadlinux-dfdc4448e078d06bdba0da52db7176437877788f.tar.xz
linux-dfdc4448e078d06bdba0da52db7176437877788f.zip
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 '')
-rw-r--r--drivers/base/regmap/regcache-indexed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-indexed.c b/drivers/base/regmap/regcache-indexed.c
index ff8b44ce044b..268497aee46d 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++) {