On Wed, Dec 18, 2013 at 01:14:49PM +0800, Wenyou Yang wrote:
> +/* ACt8865 voltage table */
> +static const unsigned int act8865_voltages_table[] = {
> + 60, 625000, 65, 675000,
Like I say you should be able to use regulator_map_voltage_linear_range().
On Wed, Dec 18, 2013 at 01:14:49PM +0800, Wenyou Yang wrote:
+/* ACt8865 voltage table */
+static const unsigned int act8865_voltages_table[] = {
+ 60, 625000, 65, 675000,
Like I say you should be able to use regulator_map_voltage_linear_range().
Signed-off-by: Wenyou Yang
---
drivers/regulator/Kconfig |8 +
drivers/regulator/Makefile|1 +
drivers/regulator/act8865-regulator.c | 381 +
include/linux/regulator/act8865.h | 53 +
4 files changed, 443 insertions(+)
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
drivers/regulator/Kconfig |8 +
drivers/regulator/Makefile|1 +
drivers/regulator/act8865-regulator.c | 381 +
include/linux/regulator/act8865.h | 53 +
4 files changed,
4 matches
Mail list logo