diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2018-03-23 18:42:43 +0100 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-04-11 07:22:49 +0200 |
commit | 93afebbe694ecd0a22f065af2e2565e2dbd49025 (patch) | |
tree | b4acaa7dd9393030a0ce081ecc9f20cf343ab101 /drivers/platform/x86 | |
parent | platform/chrome: cros_ec_sysfs: Modify error handling (diff) | |
download | linux-93afebbe694ecd0a22f065af2e2565e2dbd49025.tar.xz linux-93afebbe694ecd0a22f065af2e2565e2dbd49025.zip |
platform/chrome: cros_ec_sysfs: introduce to_cros_ec_dev define.
Add a define to get the cros_ec_dev from device and use it.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/x86')
0 files changed, 0 insertions, 0 deletions