git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3140bae
)
misc: pti, fix fail paths
author
Jiri Slaby
<jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:34 +0000
(21:47 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:27:51 +0000
(13:27 -0700)
Fail paths in ->probe and pti_init are incomplete. Fix that by adding
proper clean-up paths.
Note that we used to leak tty_driver on module unload. This is fixed
here too.
tty_unregister_driver needs not retval checking, so remove that.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pti.c
patch
|
blob
|
history
diff --cc
drivers/misc/pti.c
Simple merge