aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-07-04 19:24:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-10 14:58:35 -0700
commit7cb1ba9b679afe5fc335205fd6fb25fd3e51e33a (patch)
treee549d901a9cbc19781702a253a118c18c02c21ec /drivers/misc
parentmei: remove write only wariable wd_due_counter (diff)
downloadlinux-dev-7cb1ba9b679afe5fc335205fd6fb25fd3e51e33a.tar.xz
linux-dev-7cb1ba9b679afe5fc335205fd6fb25fd3e51e33a.zip
mei: mei_wd_host_init: update the comment
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mei/wd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/mei/wd.c b/drivers/misc/mei/wd.c
index 325d26f29746..0a893389f6cb 100644
--- a/drivers/misc/mei/wd.c
+++ b/drivers/misc/mei/wd.c
@@ -53,11 +53,12 @@ static void mei_wd_set_start_timeout(struct mei_device *dev, u16 timeout)
}
/**
- * host_init_wd - mei initialization wd.
+ * mei_wd_host_init - connect to the watchdog client
*
* @dev: the device structure
* returns -ENENT if wd client cannot be found
* -EIO if write has failed
+ * 0 on success
*/
int mei_wd_host_init(struct mei_device *dev)
{