Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284564
b: refs/heads/master
c: 97f2bf5
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Jan 8, 2012
1 parent 90f9393 commit 7ea6b5f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: aced760d91ea20ee55d9ba90fff44764a2c2c535
refs/heads/master: 97f2bf519377598fd75ce281e595e3205e0f48f5
3 changes: 1 addition & 2 deletions trunk/drivers/mfd/dm355evm_msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@ static int add_children(struct i2c_client *client)
for (i = 0; i < ARRAY_SIZE(config_inputs); i++) {
int gpio = dm355evm_msp_gpio.base + config_inputs[i].offset;

gpio_request(gpio, config_inputs[i].label);
gpio_direction_input(gpio);
gpio_request_one(gpio, GPIOF_IN, config_inputs[i].label);

/* make it easy for userspace to see these */
gpio_export(gpio, false);
Expand Down

0 comments on commit 7ea6b5f

Please sign in to comment.