Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292354
b: refs/heads/master
c: ea23b45
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent 4088d53 commit adeda30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 640045a1cd21d002caafa9eb9ed66cc31b88076a
refs/heads/master: ea23b453103e7495ef0a90c86b92f27e17092bfa
11 changes: 5 additions & 6 deletions trunk/drivers/misc/ibmasm/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,17 @@ static void __exit ibmasm_exit (void)

static int __init ibmasm_init(void)
{
int result;
int result = pci_register_driver(&ibmasm_driver);
if (result)
return result;

result = ibmasmfs_register();
if (result) {
pci_unregister_driver(&ibmasm_driver);
err("Failed to register ibmasmfs file system");
return result;
}
result = pci_register_driver(&ibmasm_driver);
if (result) {
ibmasmfs_unregister();
return result;
}

ibmasm_register_panic_notifier();
info(DRIVER_DESC " version " DRIVER_VERSION " loaded");
return 0;
Expand Down

0 comments on commit adeda30

Please sign in to comment.