summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_ec_debugfs.c
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2018-03-23 18:42:44 +0100
committerBenson Leung <bleung@chromium.org>2018-04-10 22:23:48 -0700
commit7d800c99ecfab57845c5ae29ed0aefb36c055c2b (patch)
tree186e1bcc2ec9f7842bd97cb5c52bc86f9ee8b685 /drivers/platform/chrome/cros_ec_debugfs.c
parent93afebbe694ecd0a22f065af2e2565e2dbd49025 (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/platform/chrome/cros_ec_debugfs.c')
0 files changed, 0 insertions, 0 deletions