[PATCH v2 26/28] staging: most: rearrange function aim_write

2015-12-22 Thread Christian Gromm
This patch straightens and rearranges the code of function aim_write() of module aim-cdev. Signed-off-by: Christian Gromm --- This patch has been resent on behalf of Greg Kroah-Hartman v2: Implemented and followed advice of Dan

[PATCH v2 26/28] staging: most: rearrange function aim_write

2015-11-19 Thread Christian Gromm
This patch straightens and rearranges the code of function aim_write() of module aim-cdev. Signed-off-by: Christian Gromm --- v2: Implemented and followed advice of Dan Carpenter to keep common error handling at the end of the function.