commit | 98a175b60f46a80dfa44fb0e0807f2e5a351f35f | [log] [tgz] |
---|---|---|
author | Yadwinder Singh Brar <yadi.brar01@gmail.com> | Sat Jun 09 16:40:38 2012 +0530 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Jun 11 12:01:46 2012 +0800 |
tree | 07c81163935868d9b1334a1bb33f8edddc6a29ca | |
parent | ab0d1cbe55014ac65cfc317f8ef2cd5fa4b7d4da [diff] |
regulator: core: Add regulator_set_voltage_time_sel to calculate ramp delay. This patch adds regulator_set_voltage_time_sel(), to move into core, the commonly used code by drivers to provide the .set_voltage_time_sel callback. It will also allow us to configure different ramp delay for different regulators easily. Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>