From: Jiri Slaby Date: Sat, 19 Sep 2009 20:13:13 +0000 (-0700) Subject: cyclades: close cleanup X-Git-Tag: v2.6.32-rc1~627^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23342262964722b41c7d06cfadc215039e48881b;p=pandora-kernel.git cyclades: close cleanup Use new tty helpers for close, which allows much code removal. The only real change is locking. card_lock for protecting was used inappropriately (just to have a critical section, no matter which lock is used), so the change to port->lock is fine. Remove also useless debug printks while being there. Signed-off-by: Jiri Slaby Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed