Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/fix/s5m8767' into tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jan 15, 2013
2 parents 3ab91da + 3ef3039 commit e3d5b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/regulator/s5m8767.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static int s5m8767_reg_is_enabled(struct regulator_dev *rdev)
struct s5m8767_info *s5m8767 = rdev_get_drvdata(rdev);
int ret, reg;
int mask = 0xc0, enable_ctrl;
u8 val;
unsigned int val;

ret = s5m8767_get_register(rdev, &reg, &enable_ctrl);
if (ret == -EINVAL)
Expand Down Expand Up @@ -306,7 +306,7 @@ static int s5m8767_get_voltage_sel(struct regulator_dev *rdev)
struct s5m8767_info *s5m8767 = rdev_get_drvdata(rdev);
int reg, mask, ret;
int reg_id = rdev_get_id(rdev);
u8 val;
unsigned int val;

ret = s5m8767_get_voltage_register(rdev, &reg);
if (ret)
Expand Down

0 comments on commit e3d5b2f

Please sign in to comment.