diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-20 15:46:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-21 00:50:54 +0200 |
commit | 86fe2f8aa14f6b0b76a1ce3897a3ee1433e5203a (patch) | |
tree | 078bd3dfbc4da7a89b08a435ddaefbe3c08a4bf7 /drivers/net/ethernet/xilinx/xilinx_emaclite.c | |
parent | net: usb: hso: use DEVICE_ATTR_RO macro (diff) | |
download | linux-86fe2f8aa14f6b0b76a1ce3897a3ee1433e5203a.tar.xz linux-86fe2f8aa14f6b0b76a1ce3897a3ee1433e5203a.zip |
net: cdc_ncm: use DEVICE_ATTR_RW macro
Use DEVICE_ATTR_RW 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/xilinx/xilinx_emaclite.c')
0 files changed, 0 insertions, 0 deletions