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>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user