diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-04-21 17:23:21 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-22 10:28:52 +0100 |
commit | 2d80a91b2f2a96f38877bc328dac135d69564911 (patch) | |
tree | bc85bdad22397adddb16e177385a8aa1f73245fd /include/linux/regulator | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
regulator: core: Add debugfs to show constraint flags
There are debugfs entries for voltage and current, but not for
the constraint flags. It's useful for debugging to be able to
see what these flags are so this patch adds a new debugfs file.
We can't use debugfs_create_bool for this because the flags are
bitfields, so as this needs a special read callback they have been
collected into a single file that lists all the flags.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions