diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-11-11 10:38:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 18:34:19 -0500 |
commit | ff8b2f4e424a489222d3c7d55fb2d04c9639ef98 (patch) | |
tree | 856e8e9881145ae6a8ce4a71ae4344928f22f69f /drivers/misc/mei/main.c | |
parent | 744f0f2f424d374b233cea5f9b34caa851543755 (diff) |
mei: use link and unlink terms for connecting ME and HOST client
1. rename mei_me_cl_update_filext to mei_me_cl_link
2. rename mei_remove_client_from_file_list to mei_me_cl_unlink
Code style, documenation, and usage of both function is updated
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 2cc1ebb131ba..251aafff5492 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -227,7 +227,7 @@ static int mei_release(struct inode *inode, struct file *file) | |||
227 | clear_bit(cl->host_client_id, dev->host_clients_map); | 227 | clear_bit(cl->host_client_id, dev->host_clients_map); |
228 | dev->open_handle_count--; | 228 | dev->open_handle_count--; |
229 | } | 229 | } |
230 | mei_remove_client_from_file_list(dev, cl->host_client_id); | 230 | mei_me_cl_unlink(dev, cl); |
231 | 231 | ||
232 | /* free read cb */ | 232 | /* free read cb */ |
233 | cb = NULL; | 233 | cb = NULL; |
@@ -913,8 +913,8 @@ static void __devexit mei_remove(struct pci_dev *pdev) | |||
913 | 913 | ||
914 | /* remove entry if already in list */ | 914 | /* remove entry if already in list */ |
915 | dev_dbg(&pdev->dev, "list del iamthif and wd file list.\n"); | 915 | dev_dbg(&pdev->dev, "list del iamthif and wd file list.\n"); |
916 | mei_remove_client_from_file_list(dev, dev->wd_cl.host_client_id); | 916 | mei_me_cl_unlink(dev, &dev->wd_cl); |
917 | mei_remove_client_from_file_list(dev, dev->iamthif_cl.host_client_id); | 917 | mei_me_cl_unlink(dev, &dev->iamthif_cl); |
918 | 918 | ||
919 | dev->iamthif_current_cb = NULL; | 919 | dev->iamthif_current_cb = NULL; |
920 | dev->me_clients_num = 0; | 920 | dev->me_clients_num = 0; |