ipmi:ipmi_ipmb: Unregister the SMI on remove
Otherwise it will continue to be hooked into the IPMI framework. Signed-off-by: Corey Minyard <minyard@acm.org>
This commit is contained in:
parent
2596f6b93a
commit
57c9e3c9a3
@ -433,6 +433,8 @@ static int ipmi_ipmb_remove(struct i2c_client *client)
|
|||||||
}
|
}
|
||||||
ipmi_ipmb_stop_thread(iidev);
|
ipmi_ipmb_stop_thread(iidev);
|
||||||
|
|
||||||
|
ipmi_unregister_smi(iidev->intf);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user