mei: revamp io list cleanup function.
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 27 Jan 2017 14:32:46 +0000 (16:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2017 10:07:43 +0000 (11:07 +0100)
commitf046192d98c9a929c3eefdd65b885000d341d969
tree083f74738b2dc1b1e5668d79e4d9aa604fe38bc6
parent962ff7bcec243dc5ff6dd3cbad6ed585e3177556
mei: revamp io list cleanup function.

Specify in function names by which object is the io list filtered:
cl for a client and fp for file descriptor.
In that course a code duplication is resolved by dropping
mei_cl_read_cb_flush and mei_clear_list and using
mei_io_list_free_fp function.

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/client.c
drivers/misc/mei/client.h