mei: amthif: use service function to flush amthif queue
commit5456796b1a2aedd2d6345944b73ac41aeb8cb589
authorAlexander Usyskin <alexander.usyskin@intel.com>
Thu, 14 Aug 2014 14:22:20 +0000 (14 17:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:56:16 +0000 (23 22:56 -0700)
tree958f8335ef341fa67b416f0bcc96a3e19f2c2f44
parent2c2b93ecace25c3720e68e6cd7ee47f38c1d2e90
mei: amthif: use service function to flush amthif queue

Replace open coded loop with an existing service function:
mei_io_list_flush

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