Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110025
b: refs/heads/master
c: e74783e
h: refs/heads/master
i:
  110023: 1794f8a
v: v3
  • Loading branch information
Sven Wegener authored and Jean Delvare committed Sep 24, 2008
1 parent fd8d79f commit c9748f9
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: 4ebb52d34fac2904e541ccfa8e32126db836fa92
refs/heads/master: e74783ec3cb981211689bd2cfd3248f8dc48ec01
4 changes: 3 additions & 1 deletion trunk/drivers/i2c/i2c-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,10 @@ static int __init i2c_dev_init(void)
goto out;

i2c_dev_class = class_create(THIS_MODULE, "i2c-dev");
if (IS_ERR(i2c_dev_class))
if (IS_ERR(i2c_dev_class)) {
res = PTR_ERR(i2c_dev_class);
goto out_unreg_chrdev;
}

res = i2c_add_driver(&i2cdev_driver);
if (res)
Expand Down

0 comments on commit c9748f9

Please sign in to comment.