Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149588
b: refs/heads/master
c: c8f1e50
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Zabel authored and Liam Girdwood committed Jun 15, 2009
1 parent 8efb3a4 commit b796ba6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b110a8fb242bc34e4b7686252899ce0fca956e2c
refs/heads/master: c8f1e5025ca2fa8e6e037451f3d271e66745a19b
8 changes: 4 additions & 4 deletions trunk/drivers/regulator/max1586.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ struct max1586_data {
struct i2c_client *client;

/* min/max V3 voltage */
int min_uV;
int max_uV;
unsigned int min_uV;
unsigned int max_uV;

struct regulator_dev *rdev[0];
};
Expand Down Expand Up @@ -199,8 +199,8 @@ static int max1586_pmic_probe(struct i2c_client *client,
ret = -EINVAL;
goto out_unmap;
}
max1586->min_uV = MAX1586_V3_MIN_UV * pdata->v3_gain / 1000000;
max1586->max_uV = MAX1586_V3_MAX_UV * pdata->v3_gain / 1000000;
max1586->min_uV = MAX1586_V3_MIN_UV / 1000 * pdata->v3_gain / 1000;
max1586->max_uV = MAX1586_V3_MAX_UV / 1000 * pdata->v3_gain / 1000;

rdev = max1586->rdev;
for (i = 0; i < pdata->num_subdevs && i <= MAX1586_V6; i++) {
Expand Down

0 comments on commit b796ba6

Please sign in to comment.