TTY: rfcomm/tty, use tty_port refcounting
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:51 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 19:04:31 +0000 (12:04 -0700)
commit67054019289ff11a7ffbc1a5d3c95aeb36e2f03e
treeaaae7634460e55683c1688732acbeefa2064c1f6
parentf60db8c4246ac7c33448fad173bed85354b7d75e
TTY: rfcomm/tty, use tty_port refcounting

Switch the refcounting from manual atomic plays with refcounter to the
one offered by tty_port.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/rfcomm/tty.c