commit | 7d800c99ecfab57845c5ae29ed0aefb36c055c2b | [log] [tgz] |
---|---|---|
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | Fri Mar 23 18:42:44 2018 +0100 |
committer | Benson Leung <bleung@chromium.org> | Tue Apr 10 22:23:48 2018 -0700 |
tree | 186e1bcc2ec9f7842bd97cb5c52bc86f9ee8b685 | |
parent | 93afebbe694ecd0a22f065af2e2565e2dbd49025 [diff] |
platform/chrome: cros_ec_sysfs: use permission-specific DEVICE_ATTR variants Use DEVICE_ATTR variants for read/write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. 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>