net: dsa: mv88e6xxx: use setup_timer to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 22 Oct 2016 14:28:00 +0000 (14:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Oct 2016 21:21:59 +0000 (17:21 -0400)
commit68497a87c4f4f918cbbdbae88652e796c75e11bd
tree891fca9606aacb8e8f55501a6689ade5e91442bf
parent1aaa87aff688bbb47e9ab36c638e1bb876810a39
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: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c