]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mei: introduce mei_data2slots wrapper
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 4 Jul 2012 16:24:52 +0000 (19:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jul 2012 21:58:35 +0000 (14:58 -0700)
commit7bdf72d3d8059a50214069ea4b87c2174645f40f
treeb54edc0497ab402791422a50905e59fc49f71f51
parent7cb1ba9b679afe5fc335205fd6fb25fd3e51e33a
mei: introduce mei_data2slots wrapper

Introduce mei_data2slots wrapper for sake of
readability. This wrapper close up the open code
for computing slots from a message length:
rond up dwords count from payload and header byte size

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