Skip to content
Commit 68497a87 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

net: dsa: mv88e6xxx: use setup_timer to simplify the code



Use setup_timer function instead of initializing timer with the function
and data fields.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1aaa87af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment