]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Report microvolts in sysfs even with only list_voltage()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Aug 2012 18:37:04 +0000 (11:37 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Sep 2012 01:48:15 +0000 (09:48 +0800)
commit6095dc2fd6256ab18ea7eae18462adf3ab94b001
tree911e8ff45ef616b8755ec381e4623f4fb8ac05e2
parent8b979fa1d6c190daf16a5484c07a0fe9cbab4817
regulator: core: Report microvolts in sysfs even with only list_voltage()

If a regulator only supports a single voltage list_voltage() can be used
to report what that voltage is so add this as one of the criteria for
creating the microvolts file in sysfs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c