aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2019-11-13 16:23:06 +0100
committerWolfram Sang <[email protected]>2019-12-17 16:57:35 +0100
commit54a19fd4a6402ef47fce5c3a5374c71f52373c40 (patch)
treef15d7f88374e14fa12f1c3f6e49335f41608514a /tools/perf/scripts/python
parentc807da539e8276cc1bd2fb08df5ed160e329b40a (diff)
i2c: core: Use DEVICE_ATTR_*() helper macros
Convert the i2c core sysfs attributes from DEVICE_ATTR() to DEVICE_ATTR_*(), to reduce boilerplate. This requires renaming some functions. Although no suitable macro exists for the delete_device attribute, rename i2c_sysfs_delete_device() to delete_device_store() for consistency. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Luca Ceresoli <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions