Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142046
b: refs/heads/master
c: bfb2cc4
h: refs/heads/master
v: v3
  • Loading branch information
Zhenwen Xu authored and Richard Purdie committed Apr 6, 2009
1 parent 969aa65 commit eb90ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 0b56129be72c38179697b7441aacbe133d515ff9
refs/heads/master: bfb2cc48f077017f6224e725886d07d76e3f96db
7 changes: 2 additions & 5 deletions trunk/drivers/leds/leds-s3c24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,11 @@ static int s3c24xx_led_probe(struct platform_device *dev)
ret = led_classdev_register(&dev->dev, &led->cdev);
if (ret < 0) {
dev_err(&dev->dev, "led_classdev_register failed\n");
goto exit_err1;
kfree(led);
return ret;
}

return 0;

exit_err1:
kfree(led);
return ret;
}

static struct platform_driver s3c24xx_led_driver = {
Expand Down

0 comments on commit eb90ae2

Please sign in to comment.