Skip to content
Commit 426e5805 authored by Zheng Bin's avatar Zheng Bin Committed by Michael Ellerman
Browse files

powerpc/pseries/vas: Call misc_deregister if sysfs init fails



Undo effects of misc_register if sysfs init fails after
misc_register.

Signed-off-by: default avatarZheng Bin <zhengbin13@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220511033507.2745992-1-zhengbin13@huawei.com
parent 0e0946e2
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