staging: most: move channel disconnect to function most_deregister_interface
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:52:55 +0000 (10:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commita0fceb1fb853585dcc7419944eb0ca385bdc497e
treeaf6f81507d93c003678458a692381373fbfba2c2
parent245dc23d2368beada77d9bc26f3292fa34931655
staging: most: move channel disconnect to function most_deregister_interface

This patch moves the code that disconnects linked channels. It is needed
to have cleaning things up done right.

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