diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-28 13:04:03 +0300 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2021-06-02 12:21:16 +0300 |
commit | 177f30c6c1b9c016df312decd14b4fc05e7f1f45 (patch) | |
tree | 37aa1e84aaa57fcb82d079ca307cdd994407f0b9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 942baad211336efefb93a8369478888ab845c450 (diff) | |
download | linux-177f30c6c1b9c016df312decd14b4fc05e7f1f45.tar.xz |
drm/i915: use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210528100403.21548-1-yuehaibing@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions