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)
commit676970da5cf6fec096945a8bbc19749089af57aa
treec29ffa91561334aac69f9ec5c31611caba417d23
parent38dbfb59d1175ef458d006556061adeaa8751b72
regmap: debugfs: "registers" & "access" for single register maps

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