mei: normalize me host client linking routines
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 8 Jan 2013 21:07:22 +0000 (23:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2013 00:40:46 +0000 (16:40 -0800)
commit781d0d89224bbbc438c2c0360cfd4822bb35d280
treeccda09fa57cd18a9f875bf46d0ce35b925cd9219
parent1a1aca42c989051dce34d49b4e04a25dafe01d74
mei: normalize me host client linking routines

In order we can use the same code pattern for in-kernel
and user space host clients we replace mei_cl_link_to_me
with mei_cl_link function.
We then have to keep me client lookupout of the new link function.

The unlinking cannot be yet symetric due to amthif connection
handling

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/client.c
drivers/misc/mei/client.h
drivers/misc/mei/init.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h
drivers/misc/mei/wd.c