diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-26 14:05:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-30 09:37:26 -0400 |
commit | 6d04b8ac575c38d94515b4e8f3b800c5c61ef611 (patch) | |
tree | fae75cf4c669feb4aacd233b2aee7d2c01bde8da /drivers/base/regmap/regmap.c | |
parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) |
regmap: core: Report registers in hex when we can't cache
This seems to be the most common way of reporting register numbers, it's
certainly what we do for trace.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regmap.c')
-rw-r--r-- | drivers/base/regmap/regmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 52069d29ff12..810f5094a9a8 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c | |||
@@ -814,7 +814,7 @@ static int _regmap_raw_write(struct regmap *map, unsigned int reg, | |||
814 | ival); | 814 | ival); |
815 | if (ret) { | 815 | if (ret) { |
816 | dev_err(map->dev, | 816 | dev_err(map->dev, |
817 | "Error in caching of register: %u ret: %d\n", | 817 | "Error in caching of register: %x ret: %d\n", |
818 | reg + i, ret); | 818 | reg + i, ret); |
819 | return ret; | 819 | return ret; |
820 | } | 820 | } |