diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-06-18 14:14:00 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 09:58:16 -0400 |
commit | 7e6cb5b4dbbc4b1d98289c88d0bc4092cac328be (patch) | |
tree | e24bd8e98cd4e9125a74ca629dbf3dfbd6c930c2 /drivers/mfd/cros_ec.c | |
parent | 2ce701ae4e351d9407ec0b30f5f9dd56b6de4292 (diff) |
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 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, | |||
57 | msg.in_buf = in_buf; | 57 | msg.in_buf = in_buf; |
58 | msg.in_len = in_len; | 58 | msg.in_len = in_len; |
59 | 59 | ||
60 | return ec_dev->command_xfer(ec_dev, &msg); | 60 | return ec_dev->cmd_xfer(ec_dev, &msg); |
61 | } | 61 | } |
62 | 62 | ||
63 | static int cros_ec_command_recv(struct cros_ec_device *ec_dev, | 63 | static int cros_ec_command_recv(struct cros_ec_device *ec_dev, |