From: Johan Hovold Date: Mon, 15 Oct 2012 16:20:52 +0000 (+0200) Subject: USB: ark3116: fix NULL-pointer dereference X-Git-Tag: v3.7-rc2~17^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bdce71822f471433dd3014692e9096996c7b5f0;p=pandora-kernel.git USB: ark3116: fix NULL-pointer dereference Fix NULL-pointer dereference at release 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 NULL when release is called. Compile-only tested. Cc: Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed