mei: streamline write complete flow function
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 18 Nov 2012 13:13:16 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:43:58 +0000 (12:43 -0800)
commitea3b5fb710c6d0b61f4bfbbc48b34b99b9c89bae
tree3feb8b2e9907b1ddc9cf4c587c2ec6f223988781
parent5fb54fb456f77128f817ab3491d6b131bec480b5
mei: streamline write complete flow function

Rename the function  _mei_irq_thread_cmpl to
mei_irq_thread_write_complete to make clear it deals
with writing. Remove cl from the parameter list as it
can be extracted from cb block.
Extract the common flow from if statements and document
the logic properly

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/interrupt.c