diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 10:12:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 16:01:26 -0800 |
commit | e76b1544074b5fc7983a21fb1f51a7faf03d3179 (patch) | |
tree | bbea37776ed94f4dbc9eb5cfb2bdb772d33e8611 /drivers/staging/poch | |
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>
Diffstat (limited to 'drivers/staging/poch')
0 files changed, 0 insertions, 0 deletions