Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11955
b: refs/heads/master
c: e32e28e
h: refs/heads/master
i:
  11953: 7ea02a7
  11951: a82d957
v: v3
  • Loading branch information
Russell King authored and Russell King committed Oct 30, 2005
1 parent d28d830 commit 0b8ac80
Show file tree
Hide file tree
Showing 2 changed files with 6 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: bbbf508d6403f9dfeeb040d9cd7366e395632e59
refs/heads/master: e32e28edc3d894201e15b19df627af66023aa91f
7 changes: 5 additions & 2 deletions trunk/drivers/i2c/busses/i2c-s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,8 +918,11 @@ static int __init i2c_adap_s3c_init(void)
int ret;

ret = driver_register(&s3c2410_i2c_driver);
if (ret == 0)
ret = driver_register(&s3c2440_i2c_driver);
if (ret == 0) {
ret = driver_register(&s3c2440_i2c_driver);
if (ret)
driver_unregister(&s3c2410_i2c_driver);
}

return ret;
}
Expand Down

0 comments on commit 0b8ac80

Please sign in to comment.