diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-09 21:16:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-12 11:11:23 +0100 |
commit | e843fc4616485bbd8b5a115f5bd4f73808656373 (patch) | |
tree | f0e56438d078de5cd1adc8f839580fd14b60846c /security/Makefile | |
parent | 5949a7e9ab2db04edaeee7c368eb4c99131f4629 (diff) |
regulator: core: Allow regulators to provide a voltage to selector mapping
In order to allow more drivers to factor things out into data allow
drivers to provide a mapping function to convert voltages into selectors.
This allows any driver to use set_voltage_sel(). The existing mapping
based on iterating over list_voltage() is provided as an operation which
can be assigned to the new map_voltage() function though for ease of
transition it is treated as the default.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions