mfd: cros_ec: Fix the comment on cros_ec_remove()
authorBill Richardson <wfrichar@chromium.org>
Wed, 18 Jun 2014 18:13:58 +0000 (11:13 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 13:58:14 +0000 (14:58 +0100)
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>
include/linux/mfd/cros_ec.h

index 887ef4f7bef7225995d4e4e2afda86ab6f5ad1cc..7e9fe6e98d2f6ae93f0a6d3e7f18297ce19da1cb 100644 (file)
@@ -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