Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309676
b: refs/heads/master
c: e5ba50b
h: refs/heads/master
v: v3
  • Loading branch information
Ramakrishna Pallala authored and Anton Vorontsov committed May 5, 2012
1 parent 06466ac commit de98c53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 243e3527ffbda96434429e618324f80ca0d98902
refs/heads/master: e5ba50bc3b9311256ae6a6620e7708fb25d1f6e2
4 changes: 3 additions & 1 deletion trunk/drivers/power/max17042_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,9 +706,11 @@ static int __devinit max17042_probe(struct i2c_client *client,
reg |= CONFIG_ALRT_BIT_ENBL;
max17042_write_reg(client, MAX17042_CONFIG, reg);
max17042_set_soc_threshold(chip, 1);
} else
} else {
client->irq = 0;
dev_err(&client->dev, "%s(): cannot get IRQ\n",
__func__);
}
}

reg = max17042_read_reg(chip->client, MAX17042_STATUS);
Expand Down

0 comments on commit de98c53

Please sign in to comment.