regmap: debugfs: "registers" & "access" for single register maps
authorPawel Moll <pawel.moll@arm.com>
Thu, 30 Jan 2014 13:26:32 +0000 (13:26 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:16:24 +0000 (12:16 +0000)
When a map covers a single register, max_register is equal
to 0, so the "registers" & "access" files were not created.
Now they will be, as register 0 must be readable for such
map to make sense.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap-debugfs.c

Simple merge