aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/regmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 96253cd949e9..336bedb04ba8 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -858,7 +858,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg,
858 858
859 /* If the write goes beyond the end of the window split it */ 859 /* If the write goes beyond the end of the window split it */
860 while (val_num > win_residue) { 860 while (val_num > win_residue) {
861 dev_dbg(map->dev, "Writing window %d/%d\n", 861 dev_dbg(map->dev, "Writing window %d/%zu\n",
862 win_residue, val_len / map->format.val_bytes); 862 win_residue, val_len / map->format.val_bytes);
863 ret = _regmap_raw_write(map, reg, val, win_residue * 863 ret = _regmap_raw_write(map, reg, val, win_residue *
864 map->format.val_bytes); 864 map->format.val_bytes);