commit | 4934fb7dc409c2b14dc49a1f6d9024bec87431a4 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Sun May 23 11:24:09 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun May 23 17:18:42 2021 -0700 |
tree | 76534c9ac7280f1c4696e8caf383989b598c8945 | |
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>