]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc56a057e657c0c35d6a12c58fa32377694dd7303
tree23544f67bc004732f8dc5841c5c74f0274a20918
parente48671b7cd57d09875cf7f39c745e4f721078720
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