Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213297
b: refs/heads/master
c: 10b6879
h: refs/heads/master
i:
  213295: b8d6348
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Geert Uytterhoeven committed Oct 22, 2010
1 parent 3366207 commit b5c1d22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c37dd7c41b7391698bbe354b81fe9909c281984
refs/heads/master: 10b68799b32d60ff578742d0deebc98afff30dba
2 changes: 2 additions & 0 deletions trunk/drivers/zorro/zorro.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
error = device_register(&bus->dev);
if (error) {
pr_err("Zorro: Error registering zorro_bus\n");
put_device(&bus->dev);
kfree(bus);
return error;
}
Expand Down Expand Up @@ -175,6 +176,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
if (error) {
dev_err(&bus->dev, "Error registering device %s\n",
z->name);
put_device(&z->dev);
continue;
}
error = zorro_create_sysfs_dev_files(z);
Expand Down

0 comments on commit b5c1d22

Please sign in to comment.