mei: move amthif specific release code to amithif
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 11 Nov 2012 15:38:01 +0000 (17:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 23:34:18 +0000 (15:34 -0800)
commita562d5c25aa48c23774ab8d60bfd3bbcbca4bf1d
treea9a990d28b42502b2a6fe7e5ab56128707b42f86
parent4b8960b492360c115f8214ec116f469338ac2734
mei: move amthif specific release code to amithif

Move amthif code part into separate function
mei_amthif_release.
Also helper functions mei_clear_list and mei_clear_lists
are moved along

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h