diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2021-05-20 21:46:19 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-20 15:50:54 -0700 |
| commit | 86fe2f8aa14f6b0b76a1ce3897a3ee1433e5203a (patch) | |
| tree | 078bd3dfbc4da7a89b08a435ddaefbe3c08a4bf7 /lib/test_stackinit.c | |
| parent | 7567d603b3f1c5ee799e311d0e48932bfc449028 (diff) | |
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 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
