diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-06-13 13:23:15 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 02:23:32 +0400 |
commit | 91177d53a394a982735262428d2c876df0aaa38d (patch) | |
tree | 21dc1fe35abedda93991e04039df87e9aede53b6 /drivers/staging/octeon/ethernet-mdio.c | |
parent | 3c3befef8f5269a23ad44dde0818dbf0b2b0d393 (diff) | |
download | linux-91177d53a394a982735262428d2c876df0aaa38d.tar.xz |
staging: dgap: unwind on error in dgap_init_one()
The dgap_init_one() needs to handle error properly
if one of functions in dgap_init_one() is failed.
Introduce some functions for handling error in dgap_init_one()
- dgap_tty_unregister() : unregister tty driver
- dgap_free_flipbuf() : free flip buffer
- dgap_release_remap() : release memory region and unmapped memory.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-mdio.c')
0 files changed, 0 insertions, 0 deletions