diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-01-08 16:07:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-08 19:40:44 -0500 |
commit | 90e0b5f18569bdd03c5ddd1d8c99946f42af77b8 (patch) | |
tree | 2d70ede445345397032a92fe9f5e24eb8d3c4981 /drivers/misc/mei/init.c | |
parent | 9ca9050b3df690d9d44e39424ab2a531120af936 (diff) |
mei: fix client functions names
Use common prefix for function names:
mei_cl_ - for host clients
mei_me_ - for me clients
mei_io_ - for io callback functions
Because mei_cl holds mei_device back pointer
we can also drop the dev argument from the client
functions
add client.h header to export the clients API
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/init.c')
-rw-r--r-- | drivers/misc/mei/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c index 6c1f1f838d2b..7028dbd99cf7 100644 --- a/drivers/misc/mei/init.c +++ b/drivers/misc/mei/init.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include "mei_dev.h" | 24 | #include "mei_dev.h" |
25 | #include "interface.h" | 25 | #include "interface.h" |
26 | #include "client.h" | ||
26 | 27 | ||
27 | const char *mei_dev_state_str(int state) | 28 | const char *mei_dev_state_str(int state) |
28 | { | 29 | { |
@@ -241,9 +242,8 @@ void mei_reset(struct mei_device *dev, int interrupts_enabled) | |||
241 | } | 242 | } |
242 | /* remove entry if already in list */ | 243 | /* remove entry if already in list */ |
243 | dev_dbg(&dev->pdev->dev, "remove iamthif and wd from the file list.\n"); | 244 | dev_dbg(&dev->pdev->dev, "remove iamthif and wd from the file list.\n"); |
244 | mei_me_cl_unlink(dev, &dev->wd_cl); | 245 | mei_cl_unlink(&dev->wd_cl); |
245 | 246 | mei_cl_unlink(&dev->iamthif_cl); | |
246 | mei_me_cl_unlink(dev, &dev->iamthif_cl); | ||
247 | 247 | ||
248 | mei_amthif_reset_params(dev); | 248 | mei_amthif_reset_params(dev); |
249 | memset(&dev->wr_ext_msg, 0, sizeof(dev->wr_ext_msg)); | 249 | memset(&dev->wr_ext_msg, 0, sizeof(dev->wr_ext_msg)); |