From: Johan Hovold Date: Mon, 15 Oct 2012 13:47:20 +0000 (+0200) Subject: USB: cp210x: fix port-data memory leak X-Git-Tag: v3.7-rc2~17^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4295fe7791a1b20c90cbaaa6f23f2fb94218b8a7;p=pandora-kernel.git USB: cp210x: fix port-data memory leak Fix port data memory leak by replacing port private data with serial private data. Since commit 0998d0631001288 (device-core: Ensure drvdata = NULL when no driver is bound) the port private data is no longer freed at release. The private data is used to store the control interface number, but as this is the same for all ports on an interface it should be stored as usb-serial data anyway. Cc: Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed