mei: add allocation and initialization wrappers for io callback
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 9 Oct 2012 14:50:17 +0000 (16:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:35:03 +0000 (15:35 -0700)
commit33d28c9205257479be540a31b03339817cf2d62c
tree504cd9d808fe25660d3e9ca961223380fdfa6866
parentebb108ef93605a68f6f38d5eb407e7d5138e8028
mei: add allocation and initialization wrappers for io callback

mei_io_cb_init - allocat and initializate mei_cl_cb
mei_io_cb_alloc_req/resp_buf are separate function as buffers
are not always needed

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