OSDN Git Service

mei: simplify preparing client host bus messages
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 25 Dec 2012 17:06:09 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:31:29 +0000 (10:31 -0800)
commitcd51ed649fa4bd55c6a78db52b57260797ed56b4
treedf36f6b385ed600ef714e4f813e61aedafcc2e1f
parent2efdf54603806cba681f7a09ec6c6205bddfd9a9
mei: simplify preparing client host bus messages

Define a new parent type mei_hbm_cl_cmd for hbm
commands that are sent on behalf of specific ME client.
This allows us compacting boilerplate code via mei_hbm_cl_hdr
function

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