Skip to content
Commit 1a0c667e authored by Liu Shixin's avatar Liu Shixin Committed by Paolo Abeni
Browse files

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: default avatarLiu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20220927111925.2424100-1-liushixin2@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 6db239f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment