regmap: Prefer unsigned int to bare use of unsigned

Fix checkpatch warnings:
    WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: Jinchao Wang <wjc@cdjrlc.com>
Link: https://lore.kernel.org/r/20210628171907.63646-1-wjc@cdjrlc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jinchao Wang 2021-06-29 01:19:06 +08:00 committed by Mark Brown
parent 1852f5ed35
commit d63aa09f7c
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 6 additions and 6 deletions

View file

@ -368,7 +368,7 @@ static ssize_t regmap_reg_ranges_read_file(struct file *file,
char *buf;
char *entry;
int ret;
unsigned entry_len;
unsigned int entry_len;
if (*ppos < 0 || !count)
return -EINVAL;