diff options
author | Axel Lin <[email protected]> | 2013-04-18 10:34:49 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-04-18 12:09:32 +0100 |
commit | fcf371ee5624cc87abac205cd0dad2432d7f0346 (patch) | |
tree | 114e44dec314e4e65ed8e8fc44a82d3aed661536 /lib/memory-notifier-error-inject.c | |
parent | 41ef2d5678d83af030125550329b6ae8b74618fa (diff) |
regulator: core: Add regulator_map_voltage_ascend() API
A lot of regulator hardware has ascendant voltage list.
This patch adds regulator_map_voltage_ascend() and export it.
Drivers that have ascendant voltage list can use this as their map_voltage()
operation, this is more efficient than default regulator_map_voltage_iterate()
function.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions