From dfdc4448e078d06bdba0da52db7176437877788f Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Tue, 27 Sep 2011 11:25:04 +0100 Subject: [PATCH] regmap: Fix signed/unsigned comparison Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- drivers/base/regmap/regcache-indexed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.39.5