mei: revamp mei_irq_read_client_message function
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 19 Apr 2013 19:01:34 +0000 (22:01 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2013 20:38:38 +0000 (13:38 -0700)
commit6e0f180fd8b47fa0884177a142e41a86117edc23
tree23544f67bc004732f8dc5841c5c74f0274a20918
parent5ceb46e25d727f198c1efe281d19653962a51931
mei: revamp mei_irq_read_client_message function

1. Rename the function and change parameters order,
 so that first parameter is mei_device
2. Simplify the function code flow
3. Rename helper functions to more self descriptive names
4. Use helpers common functions where possible

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