diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2018-03-23 18:42:44 +0100 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-04-10 22:23:48 -0700 |
commit | 7d800c99ecfab57845c5ae29ed0aefb36c055c2b (patch) | |
tree | 186e1bcc2ec9f7842bd97cb5c52bc86f9ee8b685 /drivers/sfi | |
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>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions