diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-26 19:05:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-30 13:37:26 +0000 |
commit | 6d04b8ac575c38d94515b4e8f3b800c5c61ef611 (patch) | |
tree | fae75cf4c669feb4aacd233b2aee7d2c01bde8da /drivers/base | |
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')
-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, ival); if (ret) { dev_err(map->dev, - "Error in caching of register: %u ret: %d\n", + "Error in caching of register: %x ret: %d\n", reg + i, ret); return ret; } |