Johan Hovold 3124d1d71d USB: f81232: fix port-data memory leak
Fix port-data memory leak by replacing attach and release with
port_probe and port_remove.

Since commit 0998d0631001288 (device-core: Ensure drvdata = NULL when no
driver is bound) the port private data is no longer freed at release as
it is no longer accessible.

Compile-only tested.

Cc: <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-17 13:47:58 -07:00
..
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2011-03-31 11:26:23 -03:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2011-11-15 10:06:15 -08:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 13:23:01 -07:00
2012-09-13 10:15:14 -07:00