summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/cros_ec.c
diff options
context:
space:
mode:
authorBill Richardson2014-06-18 20:14:00 +0200
committerLee Jones2014-07-09 15:58:16 +0200
commit7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be (patch)
treee24bd8e98cd4e9125a74ca629dbf3dfbd6c930c2 /drivers/mfd/cros_ec.c
parentmfd: cros_ec: Allow static din/dout buffers with cros_ec_register() (diff)
downloadkernel-qcow2-linux-7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be.tar.gz
kernel-qcow2-linux-7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be.tar.xz
kernel-qcow2-linux-7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
index 38fe9bf0d169..04e053c71cc6 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,