mei: constify buffer in the write functions calls
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 11 Nov 2016 01:00:08 +0000 (03:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Nov 2016 09:56:52 +0000 (10:56 +0100)
commit4b9960d052840072b59548b866db5f21d0adcf28
treedeb4d40e813128c85f39560c6ac87e5d8b4d57dd
parent17ba8a08b58a01bbac35790ffca4388ca92b7790
mei: constify buffer in the write functions calls

The write buffer should not by modified so make it constant. Also
hitchhike some style fixes on the way in the interface and rename
mei_me_write_message to mei_me_hbuf_write for consistency.

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