From: Costantino Leandro Date: Tue, 17 Feb 2009 16:10:48 +0000 (-0500) Subject: Staging: panel: fix oops on panel_cleanup_module X-Git-Tag: v2.6.29-rc7~21^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5789813e73220a0bfd85a44bc565a6ae624e8745;p=pandora-kernel.git Staging: panel: fix oops on panel_cleanup_module Check for null pardevice (not registered, ej: panel never attached, inexistent parport, etc. ) before calling parport_release, parport_unregister_device, and related funcs on module release. Signed-off-by: Costantino Leandro Acked-by: Willy Tarreau Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed