Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46617
b: refs/heads/master
c: cb986b7
h: refs/heads/master
i:
  46615: 28236af
v: v3
  • Loading branch information
Cornelia Huck authored and Greg Kroah-Hartman committed Feb 7, 2007
1 parent 8ba3b51 commit 375c5b3
Show file tree
Hide file tree
Showing 2 changed files with 7 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: c578abbc20762aa58e390e55252959853eeea17e
refs/heads/master: cb986b749c7178422bfbc982cd30e04d5db54bbc
8 changes: 6 additions & 2 deletions trunk/drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,12 @@ static void driver_sysfs_remove(struct device *dev)
*/
int device_bind_driver(struct device *dev)
{
driver_bound(dev);
return driver_sysfs_add(dev);
int ret;

ret = driver_sysfs_add(dev);
if (!ret)
driver_bound(dev);
return ret;
}

struct stupid_thread_structure {
Expand Down

0 comments on commit 375c5b3

Please sign in to comment.