aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-06-18 14:13:58 -0400
committerLee Jones <lee.jones@linaro.org>2014-07-09 09:58:14 -0400
commitee98662ec914a23ab826b0c83797aa9414f737bc (patch)
tree4875fc528150f5c79017334263412bdd0ba39257
parentc981015e55f51d3f9bb3d52d07015f791a6b278d (diff)
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>
-rw-r--r--include/linux/mfd/cros_ec.h3
1 files changed, 1 insertions, 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,
148/** 148/**
149 * cros_ec_remove - Remove a ChromeOS EC 149 * cros_ec_remove - Remove a ChromeOS EC
150 * 150 *
151 * Call this to deregister a ChromeOS EC. After this you should call 151 * Call this to deregister a ChromeOS EC, then clean up any private data.
152 * cros_ec_free().
153 * 152 *
154 * @ec_dev: Device to register 153 * @ec_dev: Device to register
155 * @return 0 if ok, -ve on error 154 * @return 0 if ok, -ve on error