diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-06-18 18:14:00 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 13:58:16 (GMT) |
commit | 7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be (patch) | |
tree | e24bd8e98cd4e9125a74ca629dbf3dfbd6c930c2 /drivers/mfd/cros_ec.c | |
parent | 2ce701ae4e351d9407ec0b30f5f9dd56b6de4292 (diff) | |
download | linux-7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be.tar.xz |
mfd: cros_ec: Tweak struct cros_ec_device for clarity
The members of struct cros_ec_device were improperly commented, and
intermixed the private and public sections. This is just cleanup to make it
more obvious what goes with what.
[dianders: left lock in the structure but gave it the name that will
eventually be used.]
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/cros_ec.c')
-rw-r--r-- | drivers/mfd/cros_ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index 38fe9bf..04e053c 100644 --- a/drivers/mfd/cros_ec.c +++ b/drivers/mfd/cros_ec.c @@ -57,7 +57,7 @@ static int cros_ec_command_sendrecv(struct cros_ec_device *ec_dev, msg.in_buf = in_buf; msg.in_len = in_len; - return ec_dev->command_xfer(ec_dev, &msg); + return ec_dev->cmd_xfer(ec_dev, &msg); } static int cros_ec_command_recv(struct cros_ec_device *ec_dev, |