diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2021-05-19 10:38:50 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-19 12:01:44 -0700 |
| commit | bc6d076daa8c66c79bdceda963fa66273103a276 (patch) | |
| tree | 7a52b2b5e55c0db11b91ada31650c981762e0b93 /tools/perf/scripts/python | |
| parent | ibmveth: fix kobj_to_dev.cocci warnings (diff) | |
| download | linux-bc6d076daa8c66c79bdceda963fa66273103a276.tar.gz linux-bc6d076daa8c66c79bdceda963fa66273103a276.zip | |
tun: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
