mei: cleanup slots to data conversions
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 23 Jul 2018 10:21:22 +0000 (13:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:16:57 +0000 (14:16 +0200)
commit9fc5f0f8ad28405145b30fd3b905e368063ee14c
tree27822d572c0e2844039967fe38046a606d49df06
parent670d198b61ebfb4c9b13e50dccbd904a62ae593c
mei: cleanup slots to data conversions

Cleanup conversions between slots and data.
Define MEI_SLOT_SIZE instead of using 4 or sizeof(u32) across
the source code.

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/hw-me.c
drivers/misc/mei/hw-txe.c
drivers/misc/mei/mei_dev.h