Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188172
b: refs/heads/master
c: 0493a4f
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Richard Purdie committed Mar 16, 2010
1 parent 20d9811 commit 04f063d
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: 72dcd8d08aca4ac6154dc37243880ee306c7ea73
refs/heads/master: 0493a4ff10959ff4c8e0d65efee25b7ffd4fa5db
3 changes: 1 addition & 2 deletions trunk/drivers/leds/leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ static int __devinit of_gpio_leds_probe(struct of_device *ofdev,
const struct of_device_id *match)
{
struct device_node *np = ofdev->node, *child;
struct gpio_led led;
struct gpio_led_of_platform_data *pdata;
int count = 0, ret;

Expand All @@ -226,8 +225,8 @@ static int __devinit of_gpio_leds_probe(struct of_device *ofdev,
if (!pdata)
return -ENOMEM;

memset(&led, 0, sizeof(led));
for_each_child_of_node(np, child) {
struct gpio_led led = {};
enum of_gpio_flags flags;
const char *state;

Expand Down

0 comments on commit 04f063d

Please sign in to comment.