Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/topic/tps6586x' into regulato…
Browse files Browse the repository at this point in the history
…r-next
  • Loading branch information
Mark Brown committed Aug 30, 2015
2 parents aaa9b64 + a70f0d0 commit f5164b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/regulator/tps6586x-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,12 @@ static struct tps6586x_platform_data *tps6586x_parse_regulator_dt(
return NULL;

for (i = 0; i < num; i++) {
int id;
uintptr_t id;
if (!tps6586x_matches[i].init_data)
continue;

pdata->reg_init_data[i] = tps6586x_matches[i].init_data;
id = (int)tps6586x_matches[i].driver_data;
id = (uintptr_t)tps6586x_matches[i].driver_data;
if (id == TPS6586X_ID_SYS)
sys_rail = pdata->reg_init_data[i]->constraints.name;

Expand Down

0 comments on commit f5164b8

Please sign in to comment.