commit | e76b1544074b5fc7983a21fb1f51a7faf03d3179 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@web.de> | Mon Feb 08 10:12:24 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 16 16:01:26 2010 -0800 |
tree | bbea37776ed94f4dbc9eb5cfb2bdb772d33e8611 | |
parent | 81d17fe5e29d863027824928e1c336baa9abfee9 [diff] |
CAPI: Clean up capinc_tty_init/exit Return proper error code if tty_register_driver fails. In contrast, tty_unregister_driver cannot practically fail, so drop that error handling. Finally, mark capinc_tty_init/exit with __init/__exit. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>