[PATCH 20/28] staging: most: encapsulate shared code

2015-12-22 Thread Christian Gromm
This patch encapsulates shared code. It therefore creates the new functions stop_channel and destroy_cdev. Signed-off-by: Christian Gromm --- This patch has been resent on behalf of Greg Kroah-Hartman drivers/staging/most/aim-cdev/cdev.c | 55 ++ 1 file chang

[PATCH 20/28] staging: most: encapsulate shared code

2015-11-18 Thread Christian Gromm
This patch encapsulates shared code. It therefore creates the new functions stop_channel and destroy_cdev. Signed-off-by: Christian Gromm --- drivers/staging/most/aim-cdev/cdev.c | 55 ++ 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/drivers/st