From: Corey Minyard Date: Thu, 6 Nov 2014 22:58:48 +0000 (-0600) Subject: ipmi: Make the message handler easier to use for SMI interfaces X-Git-Tag: omap-for-v3.19/fixes-rc1~108^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea0ed2b5be81;p=pandora-kernel.git ipmi: Make the message handler easier to use for SMI interfaces The message handler expected the SMI interface to keep a queue of messages, but that was kind of silly, the queue would be easier to manage in the message handler itself. As part of that, fix the message cleanup to make sure no messages are outstanding when an SMI interface is unregistered. This makes it easier for an SMI interface to unregister, it just has to call ipmi_unregister_smi() first and all processing from the message handler will be cleaned up. Signed-off-by: Corey Minyard --- Reading git-diff-tree failed