mei: compact code for mei bus message creation
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 18 Nov 2012 13:13:14 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:43:57 +0000 (12:43 -0800)
commit5bd647144151082f0e8beb58741e27e6dbd23827
treedc63f6e68046d280135cc1823ef65a03dc63dcda
parent2c9e9fdc0b2d55886609f0503fb91f96dfec6948
mei: compact code for mei bus message creation

1. replace boilerplate code for filling up the bus message header
 with a common wrapper function
2. shorten variable names and use temporal variables
 to save some screen space

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/interface.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/mei_dev.h