aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/regulator/palmas-regulator.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2014-06-18 15:28:56 +0530
committerMark Brown <broonie@linaro.org>2014-06-23 12:30:56 +0100
commit9f057dc1d01383e6975e515ba8e661d2aeb6bdfc (patch)
tree3b29f05c3e3724fa99207bebeee28d71f35b29a0 /drivers/regulator/palmas-regulator.c
parentmfd: palmas: Add tps65917 support (diff)
downloadwireguard-linux-9f057dc1d01383e6975e515ba8e661d2aeb6bdfc.tar.xz
wireguard-linux-9f057dc1d01383e6975e515ba8e661d2aeb6bdfc.zip
regulator: palmas: Shift the reg_info structure definition to the header file
Shift the reg_info structure definition to the header file. Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
-rw-r--r--drivers/regulator/palmas-regulator.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index b982f0ff4e01..1cf462f90df5 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -27,15 +27,6 @@
#include <linux/of_platform.h>
#include <linux/regulator/of_regulator.h>
-struct regs_info {
- char *name;
- char *sname;
- u8 vsel_addr;
- u8 ctrl_addr;
- u8 tstep_addr;
- int sleep_id;
-};
-
static const struct regulator_linear_range smps_low_ranges[] = {
REGULATOR_LINEAR_RANGE(0, 0x0, 0x0, 0),
REGULATOR_LINEAR_RANGE(500000, 0x1, 0x6, 0),