Commit dfdc4448 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown

regmap: Fix signed/unsigned comparison

Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 25ed1156
...@@ -41,7 +41,7 @@ static int regcache_indexed_write(struct regmap *map, unsigned int reg, ...@@ -41,7 +41,7 @@ static int regcache_indexed_write(struct regmap *map, unsigned int reg,
static int regcache_indexed_sync(struct regmap *map) static int regcache_indexed_sync(struct regmap *map)
{ {
int i; unsigned int i;
int ret; int ret;
for (i = 0; i < map->num_reg_defaults; i++) { for (i = 0; i < map->num_reg_defaults; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment