Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284563
b: refs/heads/master
c: aced760
h: refs/heads/master
i:
  284561: 4282e99
  284559: 1ea4a41
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Jan 8, 2012
1 parent 54647de commit 90f9393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 61485c63c4a4e823445da4ae8798d9082f6bc586
refs/heads/master: aced760d91ea20ee55d9ba90fff44764a2c2c535
4 changes: 2 additions & 2 deletions trunk/drivers/mfd/aat2870-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,13 @@ static int aat2870_i2c_probe(struct i2c_client *client,
aat2870->init(aat2870);

if (aat2870->en_pin >= 0) {
ret = gpio_request(aat2870->en_pin, "aat2870-en");
ret = gpio_request_one(aat2870->en_pin, GPIOF_OUT_INIT_HIGH,
"aat2870-en");
if (ret < 0) {
dev_err(&client->dev,
"Failed to request GPIO %d\n", aat2870->en_pin);
goto out_kfree;
}
gpio_direction_output(aat2870->en_pin, 1);
}

aat2870_enable(aat2870);
Expand Down

0 comments on commit 90f9393

Please sign in to comment.