summaryrefslogtreecommitdiffstats
path: root/drivers/input
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-11 07:23:48 +0200
commit7d800c99ecfab57845c5ae29ed0aefb36c055c2b (patch)
tree186e1bcc2ec9f7842bd97cb5c52bc86f9ee8b685 /drivers/input
parentplatform/chrome: cros_ec_sysfs: introduce to_cros_ec_dev define. (diff)
downloadlinux-7d800c99ecfab57845c5ae29ed0aefb36c055c2b.tar.xz
linux-7d800c99ecfab57845c5ae29ed0aefb36c055c2b.zip
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/input')
0 files changed, 0 insertions, 0 deletions