mfd: cros_ec: Fix the comment on cros_ec_remove()

This change “mfd: cros_ec: Fix the comment on cros_ec_remove()” (commit ee98662) in Linux kernel is authored by Bill Richardson <wfrichar [at] chromium.org> on Wed Jun 18 11:13:58 2014 -0700.

Description of "mfd: cros_ec: Fix the comment on cros_ec_remove()"

The change “mfd: cros_ec: Fix the comment on cros_ec_remove()” introduces changes as follows.

mfd: cros_ec: Fix the comment on cros_ec_remove()

This comment was incorrect, so update it.

Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Linux kernel releases containing commit ee98662

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "mfd: cros_ec: Fix the comment on cros_ec_remove()"

There are 3 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 include/linux/mfd/cros_ec.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h
index 887ef4f7bef7..7e9fe6e98d2f 100644
--- a/include/linux/mfd/cros_ec.h
+++ b/include/linux/mfd/cros_ec.h
@@ -148,8 +148,7 @@ int cros_ec_prepare_tx(struct cros_ec_device *ec_dev,
 /**
  * cros_ec_remove - Remove a ChromeOS EC
  *
- * Call this to deregister a ChromeOS EC. After this you should call
- * cros_ec_free().
+ * Call this to deregister a ChromeOS EC, then clean up any private data.
  *
  * @ec_dev: Device to register
  * @return 0 if ok, -ve on error

The commit for this change in Linux stable tree is ee98662 (patch).

Last modified: 2020/02/10