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>
This commit is contained in:
Bill Richardson 2014-06-18 11:13:58 -07:00 committed by Lee Jones
parent c981015e55
commit ee98662ec9

View file

@ -148,8 +148,7 @@ int cros_ec_prepare_tx(struct cros_ec_device *ec_dev,
/** /**
* cros_ec_remove - Remove a ChromeOS EC * cros_ec_remove - Remove a ChromeOS EC
* *
* Call this to deregister a ChromeOS EC. After this you should call * Call this to deregister a ChromeOS EC, then clean up any private data.
* cros_ec_free().
* *
* @ec_dev: Device to register * @ec_dev: Device to register
* @return 0 if ok, -ve on error * @return 0 if ok, -ve on error