diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-11-13 16:23:06 +0100 |
|---|---|---|
| committer | Wolfram Sang <wsa@the-dreams.de> | 2019-12-17 16:57:35 +0100 |
| commit | 54a19fd4a6402ef47fce5c3a5374c71f52373c40 (patch) | |
| tree | f15d7f88374e14fa12f1c3f6e49335f41608514a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | i2c: remove unneeded 'extern' from function declatations (diff) | |
| download | linux-54a19fd4a6402ef47fce5c3a5374c71f52373c40.tar.gz linux-54a19fd4a6402ef47fce5c3a5374c71f52373c40.zip | |
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 <geert+renesas@glider.be>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
