diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-23 11:24:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-23 17:18:42 -0700 |
commit | 4934fb7dc409c2b14dc49a1f6d9024bec87431a4 (patch) | |
tree | 76534c9ac7280f1c4696e8caf383989b598c8945 /drivers/net/ethernet/sfc/rx_common.h | |
parent | 3880fc37beba5d6878ef4c8d57f21683974a211b (diff) |
sfc: falcon: use DEVICE_ATTR_*() macro
Use DEVICE_ATTR_*() 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/sfc/rx_common.h')
0 files changed, 0 insertions, 0 deletions