staging: most: encapsulate shared code
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:53:01 +0000 (10:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit5f858a61a8b4f5fec7b3c0618646ed6f7bfcd3a7
tree265c4232bf4b24f1b12491765d36565793e5e5a4
parent0ccaa6de8edb0053efd4dcc49e8f053bf5ff7595
staging: most: encapsulate shared code

This patch encapsulates shared code. It therefore creates the new functions
stop_channel and destroy_cdev.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c