linux/drivers/regulator
Axel Lin 5b5e977ce7 regulator: Rename s5m8767_convert_voltage to s5m8767_convert_voltage_to_sel
This function finds the smallest voltage that falls within the specified range,
and then returns the selector. This rename makes the intention more clear.

Also remove unneeded local variables min_vol and max_vol in s5m8767_set_voltage
and s5m8767_set_voltage_buck.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-03-11 20:49:35 +00:00
..
88pm8607.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
aat2870-regulator.c regulator: Add a pointer to aat2870_data in struct aat2870_regulator 2012-03-11 20:48:48 +00:00
ab3100.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
ab8500.c regulator: Convert ab8499 to use get_voltage_sel() 2012-03-11 20:48:43 +00:00
ad5398.c regulator: ad5398: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:49 +00:00
bq24022.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
core.c regulator: add regulator_bulk_force_disable function 2012-01-03 20:20:01 +00:00
da903x.c regulator: da903x: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:52 +00:00
da9052-regulator.c regulator: da9052: Staticize non-exported symbols 2011-12-20 10:02:48 +00:00
db8500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dbx500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dbx500-prcmu.h regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dummy.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed.c regulator fixed: Do not report enumaratable voltages if there are none 2012-03-11 20:48:51 +00:00
gpio-regulator.c regulator: Fix compile break due to missing arguments to regulator_register 2011-11-24 10:47:56 +00:00
isl6271a-regulator.c regulator: Simplify the code to get selector in isl6271a_set_voltage 2012-03-11 20:48:47 +00:00
Kconfig regulator: Sort Kconfig and Makefile entries 2012-03-11 20:48:42 +00:00
lp3971.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
lp3972.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
Makefile regulator: Sort Kconfig and Makefile entries 2012-03-11 20:48:42 +00:00
max1586.c regulator: max1586: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:49 +00:00
max8649.c regulator: max8649: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:54 +00:00
max8660.c regulator: max8660: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:50 +00:00
max8925-regulator.c regulator: max8925: fix enabled/disabled judgement mistake 2012-01-06 10:56:14 -08:00
max8952.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
max8997.c regulator: Kill max8997_get_rid function 2012-03-11 20:48:46 +00:00
max8998.c regulator: Silence error message in max8998_pmic_probe 2012-03-11 20:48:54 +00:00
mc13xxx-regulator-core.c regulator: mc13xxx-regulator-core: Fix the build when driver is selected as module 2012-01-24 20:47:25 +00:00
mc13xxx.h regulator: mc13892: add device tree probe support 2011-12-22 11:10:45 +00:00
mc13783-regulator.c regulator: mc13783: bail out without platform data 2012-03-11 20:48:44 +00:00
mc13892-regulator.c regulator: mc13892: Convert to devm_kzalloc() 2011-12-30 02:06:29 +00:00
of_regulator.c regulator: pass device_node to of_get_regulator_init_data() 2011-12-05 19:10:17 +00:00
pcap-regulator.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
pcf50633-regulator.c regulator: Fix n_voltage settings for pcf50633 regulator 2012-03-11 20:48:45 +00:00
s5m8767.c regulator: Rename s5m8767_convert_voltage to s5m8767_convert_voltage_to_sel 2012-03-11 20:49:35 +00:00
tps6105x-regulator.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
tps6507x-regulator.c regulator: pass additional of_node to regulator_register() 2011-11-23 18:47:04 +00:00
tps6524x-regulator.c regulator: tps6524x: Remove unneeded comment for N_REGULATORS 2012-03-11 20:49:34 +00:00
tps6586x-regulator.c regulator: tps6586x: fix typo in debug message 2012-03-11 20:49:29 +00:00
tps62360-regulator.c regulator: tps62360: Remove pointless test for unsigned less than zero 2012-03-11 20:48:40 +00:00
tps65023-regulator.c regulator: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2 2012-02-06 16:38:18 +00:00
tps65217-regulator.c regulator: tps65217: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:52 +00:00
tps65910-regulator.c regulator: Rename set_voltage_sel callback function name to *_sel 2012-03-11 20:49:33 +00:00
tps65912-regulator.c regulator: Rename set_voltage_sel callback function name to *_sel 2012-03-11 20:49:33 +00:00
twl-regulator.c Merge remote-tracking branches 'regulator/topic/dt' and 'regulator/for-linus' into regulator-next 2011-11-28 19:01:08 +00:00
userspace-consumer.c regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver() 2011-11-28 11:49:13 +00:00
virtual.c regulator: Convert virtual and userspace regulator consumer drivers to use module_platform_driver() 2011-11-28 11:49:13 +00:00
wm831x-dcdc.c regulator: Convert wm831x regulator drivers to devm_kzalloc() 2011-12-20 11:29:05 +00:00
wm831x-isink.c regulator: Convert wm831x regulator drivers to devm_kzalloc() 2011-12-20 11:29:05 +00:00
wm831x-ldo.c regulator: Convert wm831x regulator drivers to devm_kzalloc() 2011-12-20 11:29:05 +00:00
wm8350-regulator.c regulator: wm8350: Don't specify consumer supplies with struct device 2012-02-02 13:46:33 +00:00
wm8400-regulator.c regulator: wm8400: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:51 +00:00
wm8994-regulator.c regulator: wm8994: Convert to devm_kzalloc() 2012-03-11 20:48:41 +00:00