diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-06-10 05:01:10 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-06-10 10:06:13 +0300 |
commit | 3bc770b0e998a69c7085ec36405eda246b5b10d8 (patch) | |
tree | 3f1a0ead0db134af7db667993c127099a7f2af7d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 606636dcbdbb73b1a4ed61be77c76ea1087f042d (diff) | |
download | linux-3bc770b0e998a69c7085ec36405eda246b5b10d8.tar.xz |
iommu/vt-d: 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>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210528130229.22108-1-yuehaibing@huawei.com
Link: https://lore.kernel.org/r/20210610020115.1637656-19-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions