summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390/stnic.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-05-19 10:38:50 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-19 12:01:44 -0700
commitbc6d076daa8c66c79bdceda963fa66273103a276 (patch)
tree7a52b2b5e55c0db11b91ada31650c981762e0b93 /drivers/net/ethernet/8390/stnic.c
parent1756055de28412b6820b1221b1ab0092f6e780cb (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