Commit 57c9e3c9 authored by Corey Minyard's avatar Corey Minyard Committed by Corey Minyard

ipmi:ipmi_ipmb: Unregister the SMI on remove

Otherwise it will continue to be hooked into the IPMI framework.
Signed-off-by: default avatarCorey Minyard <minyard@acm.org>
parent 2596f6b9
......@@ -433,6 +433,8 @@ static int ipmi_ipmb_remove(struct i2c_client *client)
}
ipmi_ipmb_stop_thread(iidev);
ipmi_unregister_smi(iidev->intf);
return 0;
}
......
Markdown is supported
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