diff options
author | 2021-05-19 10:38:50 +0800 | |
---|---|---|
committer | 2021-05-19 12:01:44 -0700 | |
commit | bc6d076daa8c66c79bdceda963fa66273103a276 (patch) | |
tree | 7a52b2b5e55c0db11b91ada31650c981762e0b93 /drivers/net/ethernet/intel | |
parent | ibmveth: fix kobj_to_dev.cocci warnings (diff) | |
download | wireguard-linux-bc6d076daa8c66c79bdceda963fa66273103a276.tar.xz wireguard-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 'drivers/net/ethernet/intel')
0 files changed, 0 insertions, 0 deletions