mei: use structured buffer for extra write buffer
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 18 Nov 2012 13:13:15 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:43:57 +0000 (12:43 -0800)
commit5fb54fb456f77128f817ab3491d6b131bec480b5
treedfe2f4ec3b94fb93bcf409ef21353dc5dd4f434d
parent5bd647144151082f0e8beb58741e27e6dbd23827
mei: use structured buffer for extra write buffer

The structure of the message is static so we don't have
to use and cast the buffer. We can also drop extra_write_index
variable as this information can be extracted directly
from the message header

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