Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309685
b: refs/heads/master
c: d72bade
h: refs/heads/master
i:
  309683: ca1f6d3
v: v3
  • Loading branch information
Mika Westerberg authored and Anton Vorontsov committed May 5, 2012
1 parent 523442a commit d37dc52
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 055d7f0f29b2af6ec8fd5da9f0ce27b9e9e63436
refs/heads/master: d72bade76d11da661d76aec5801567d573f39fea
6 changes: 2 additions & 4 deletions trunk/drivers/power/smb347-charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,10 +925,6 @@ static int smb347_irq_init(struct smb347_charger *smb)
if (ret < 0)
goto fail_readonly;

ret = smb347_irq_enable(smb);
if (ret < 0)
goto fail_readonly;

smb347_set_writable(smb, false);
smb->client->irq = irq;
return 0;
Expand Down Expand Up @@ -1241,6 +1237,8 @@ static int smb347_probe(struct i2c_client *client,
if (ret < 0) {
dev_warn(dev, "failed to initialize IRQ: %d\n", ret);
dev_warn(dev, "disabling IRQ support\n");
} else {
smb347_irq_enable(smb);
}
}

Expand Down

0 comments on commit d37dc52

Please sign in to comment.