OSDN Git Service

mei: add mei_msg_hdr_init wrapper.
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 23 Jul 2018 10:21:24 +0000 (13:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:16:57 +0000 (14:16 +0200)
commita1c4d08b6b95a0e296285ee53cc1438b3f168f98
treee1821fb291409d88c6d8cb2cd8b5f12ab0d0ca6e
parent8c8d964ce90f16877b76c3f00b27165bf865af69
mei: add mei_msg_hdr_init wrapper.

Wrap the mei header boilerplate initialization code in
mei_msg_hdr_init function. On the way remove 'completed'
field from mei_cl_cb structure as this information
is already included in the header and is local to particular
fragment.

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/mei_dev.h