mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 23:50:25 +00:00
regmap: Fix signed/unsigned comparison
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
25ed1156dd
commit
dfdc4448e0
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user