regmap: Add support for writing to regmap registers via debugfs
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Wed, 22 Feb 2012 12:43:50 +0000 (12:43 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Feb 2012 13:10:31 +0000 (13:10 +0000)
To enable writing to the regmap debugfs registers file users will
need to modify the source directly and #define REGMAP_ALLOW_WRITE_DEBUGFS.
The reason for this is that it is dangerous to expose this
functionality in general where clients could potentially be PMICs.

[A couple of minor style updates -- broonie]

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found