regmap: Fix printing of size_t variable
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 25 Oct 2012 16:07:18 +0000 (14:07 -0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Oct 2012 17:55:11 +0000 (18:55 +0100)
commit1a61cfe3445218637f38b355c76fc3132865a0a6
treec3378af914ed2795862d28fbe3da848f7b616d1f
parent8a2ceac6617a67d8a1ee4bd255743d577bde311a
regmap: Fix printing of size_t variable

val_bytes is of 'size_t', so it should be printed as '%zu'.

Fixes the following build warning on x86:

drivers/base/regmap/regmap.c:872:4: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c