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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}