]> git.baikalelectronics.ru Git - kernel.git/commit
mei: streamline amthif write complete function
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 18 Nov 2012 13:13:17 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:43:58 +0000 (12:43 -0800)
commit38c280caac369ff07c6e292df7c38b26285cc898
tree11d7a03b65c9ad448f230f748f0bc19b6627dced
parent12da573f0c367ea874da0ad2e5a6667a8b2ca7e7
mei: streamline amthif write complete function

Rename the function mei_amthif_irq_process_completed
to mei_amthif_irq_write_complete
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/amthif.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/mei_dev.h