diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2021-05-19 05:38:50 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-19 22:01:44 +0300 |
| commit | bc6d076daa8c66c79bdceda963fa66273103a276 (patch) | |
| tree | 7a52b2b5e55c0db11b91ada31650c981762e0b93 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 1756055de28412b6820b1221b1ab0092f6e780cb (diff) | |
| download | linux-bc6d076daa8c66c79bdceda963fa66273103a276.tar.xz | |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
