Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333067
b: refs/heads/master
c: 59c4dce
h: refs/heads/master
i:
  333065: 86b6075
  333063: b2b9e6f
v: v3
  • Loading branch information
Tobias Klauser authored and Bryan Wu committed Sep 11, 2012
1 parent 38c1d82 commit 378d199
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: 6ebcebddffbf5c074e467c725aafbd21dfd46ed5
refs/heads/master: 59c4dce13018b04275478e95b3929eca55afcdfb
4 changes: 2 additions & 2 deletions trunk/drivers/leds/leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ static int __devinit gpio_led_probe(struct platform_device *pdev)

static int __devexit gpio_led_remove(struct platform_device *pdev)
{
struct gpio_leds_priv *priv = dev_get_drvdata(&pdev->dev);
struct gpio_leds_priv *priv = platform_get_drvdata(pdev);
int i;

for (i = 0; i < priv->num_leds; i++)
delete_gpio_led(&priv->leds[i]);

dev_set_drvdata(&pdev->dev, NULL);
platform_set_drvdata(pdev, NULL);

return 0;
}
Expand Down

0 comments on commit 378d199

Please sign in to comment.