driver-core: Fix possible null reference in subsys_interface_unregister

Check if the sif is not NULL before de-referencing it

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Jonghwan Choi 2012-01-14 11:06:03 +09:00 • committed by Greg Kroah-Hartman
commit 2b31594a95