From: Richard Ash Date: Mon, 17 Aug 2009 09:43:49 +0000 (+0100) Subject: Staging: quatech_usb2: chars_in_buffer() fix X-Git-Tag: v2.6.32-rc1~668^2~562 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2feb633d6580d8e6a61890bef1c0ea9020e61225;p=pandora-kernel.git Staging: quatech_usb2: chars_in_buffer() fix It seems I can't count. Patch to fix chars_in_buffer() method (broken in vendor driver), and subsequently simplify the close() method, making it somewhat less broken. There is quite a bit more improvement to do on this method though. Signed-off-by: Richard Ash Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed