]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit09c6ecd394105c4864a0e409e181c9b1578c2a63
tree84ddf6946e4aeeb70d39c919f18bc5f6441e54ca
parentb8fb5ab156055b745254609f4635fcfd6b7dabc8
regmap: Add support for writing to regmap registers via debugfs

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>
drivers/base/regmap/regmap-debugfs.c