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 /drivers/net/ethernet/8390/stnic.c | |
parent | 1756055de28412b6820b1221b1ab0092f6e780cb (diff) |
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/8390/stnic.c')
0 files changed, 0 insertions, 0 deletions