summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2014-06-13 18:23:15 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 15:23:32 -0700
commit91177d53a394a982735262428d2c876df0aaa38d (patch)
tree21dc1fe35abedda93991e04039df87e9aede53b6 /drivers/staging/octeon
parent3c3befef8f5269a23ad44dde0818dbf0b2b0d393 (diff)
downloadop-kernel-dev-91177d53a394a982735262428d2c876df0aaa38d.zip
op-kernel-dev-91177d53a394a982735262428d2c876df0aaa38d.tar.gz
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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud