diff options
author | Liu Shixin <liushixin2@huawei.com> | 2022-09-27 14:19:25 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-09-29 10:57:23 +0300 |
commit | 1a0c667ea8e34edbad27f9c7f435e4825fab2163 (patch) | |
tree | 9a0f903fc40fe34a4a4d5b7d7d6bf9f5d837378b /drivers/net/ethernet/cavium | |
parent | 6db239f01abc7e04a9bc2a0c59c1db1c1ebf9eb3 (diff) | |
download | linux-1a0c667ea8e34edbad27f9c7f435e4825fab2163.tar.xz |
net: ethernet: mtk_eth_soc: use DEFINE_SHOW_ATTRIBUTE to simplify code
Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.
No functional change.
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220927111925.2424100-1-liushixin2@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/cavium')
0 files changed, 0 insertions, 0 deletions