Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199079
b: refs/heads/master
c: beb0a43
h: refs/heads/master
i:
  199077: a5e4df7
  199075: 6de97e0
  199071: 0a0898b
v: v3
  • Loading branch information
Axel Lin authored and Richard Purdie committed May 26, 2010
1 parent b5e2158 commit bd8699e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ee378a5c6550dcbfe6fa9c71b84ca2eb19cb288e
refs/heads/master: beb0a43f398efac87a3b9c2c6a5c5a163df50413
7 changes: 3 additions & 4 deletions trunk/drivers/video/backlight/l4f00242t03.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ static int __devinit l4f00242t03_probe(struct spi_device *spi)

if (priv == NULL) {
dev_err(&spi->dev, "No memory for this device.\n");
ret = -ENOMEM;
goto err;
return -ENOMEM;
}

dev_set_drvdata(&spi->dev, priv);
Expand All @@ -139,7 +138,7 @@ static int __devinit l4f00242t03_probe(struct spi_device *spi)
if (ret) {
dev_err(&spi->dev,
"Unable to get the lcd l4f00242t03 reset gpio.\n");
return ret;
goto err;
}

ret = gpio_direction_output(pdata->reset_gpio, 1);
Expand All @@ -151,7 +150,7 @@ static int __devinit l4f00242t03_probe(struct spi_device *spi)
if (ret) {
dev_err(&spi->dev,
"Unable to get the lcd l4f00242t03 data en gpio.\n");
return ret;
goto err2;
}

ret = gpio_direction_output(pdata->data_enable_gpio, 0);
Expand Down

0 comments on commit bd8699e

Please sign in to comment.