Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205526
b: refs/heads/master
c: 5b232f7
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Aug 5, 2010
1 parent fc8ea0a commit c1b80b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 49c19400f60bbe362202d7e7b3e68cc66040d0fa
refs/heads/master: 5b232f753a842fa66eab86e51dc76e3929d853af
4 changes: 3 additions & 1 deletion trunk/drivers/firmware/dmi-id.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,12 @@ static int __init dmi_id_init(void)

ret = device_register(dmi_dev);
if (ret)
goto fail_class_unregister;
goto fail_free_dmi_dev;

return 0;

fail_free_dmi_dev:
kfree(dmi_dev);
fail_class_unregister:

class_unregister(&dmi_class);
Expand Down

0 comments on commit c1b80b1

Please sign in to comment.