From: Olivier Blin Date: Fri, 8 Aug 2008 19:01:41 +0000 (-0700) Subject: hso: fix refcounting on the ttyHSx devices X-Git-Tag: v2.6.27-rc4~39^2~48^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d558a52ba295fc1c281c671d7daab2f74ddb4f2;p=pandora-kernel.git hso: fix refcounting on the ttyHSx devices The references on ttyHSx devices were not decremented correctly when the tty was closed. The helper freeing the serial devices was never called because of that, and the module left some dangling sysfs devices after being unloaded. Signed-off-by: Olivier Blin Cc: Jari Tenhunen Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed