Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71191
b: refs/heads/master
c: d941ea7
h: refs/heads/master
i:
  71189: 299a560
  71187: 41060ca
  71183: 942a772
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Oct 18, 2007
1 parent cf9e642 commit b626b08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 65f76a82ec7a0374fad85211535330e203740475
refs/heads/master: d941ea7d496db914205c3872942fd1ff0e7dccef
8 changes: 4 additions & 4 deletions trunk/drivers/char/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -5362,13 +5362,13 @@ static int __init cy_init(void)
#ifdef CONFIG_PCI
/* look for pci boards */
retval = pci_register_driver(&cy_pci_driver);
if (retval && !nboards)
goto err_unr;
if (retval && !nboards) {
tty_unregister_driver(cy_serial_driver);
goto err_frtty;
}
#endif

return 0;
err_unr:
tty_unregister_driver(cy_serial_driver);
err_frtty:
put_tty_driver(cy_serial_driver);
err:
Expand Down

0 comments on commit b626b08

Please sign in to comment.