Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346382
b: refs/heads/master
c: 5a5a074
h: refs/heads/master
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent adbcfe8 commit 039dbe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 9a8fe5d8cc180b9c2c3c08509b458199c26bc5ff
refs/heads/master: 5a5a07436669b3072fbe9f06d27667ec6db62bf5
10 changes: 3 additions & 7 deletions trunk/drivers/video/backlight/lms283gf05.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,9 @@ static int lms283gf05_probe(struct spi_device *spi)
int ret = 0;

if (pdata != NULL) {
ret = devm_gpio_request(&spi->dev, pdata->reset_gpio,
"LMS285GF05 RESET");
if (ret)
return ret;

ret = gpio_direction_output(pdata->reset_gpio,
!pdata->reset_inverted);
ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio,
GPIOF_DIR_OUT | !pdata->reset_inverted,
"LMS285GF05 RESET");
if (ret)
return ret;
}
Expand Down

0 comments on commit 039dbe1

Please sign in to comment.