Skip to content
Commit 5789813e authored by Costantino Leandro's avatar Costantino Leandro Committed by Greg Kroah-Hartman
Browse files

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: default avatarCostantino Leandro <lcostantino@gmail.com>
Acked-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 096c55d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment