drivers/net/ftgmac100: refactor ftgmac100_reset_task to enable direct function call
authorHeyi Guo <guoheyi@linux.alibaba.com>
Wed, 23 Feb 2022 03:14:34 +0000 (11:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2022 12:50:19 +0000 (12:50 +0000)
commit4f1e72850d452e5c3302faa82a01f179ff5f9482
treecd0e4e4cff603a5638f50831fa3ef2637a2720b3
parentecf4a24cf97838fb0b78d4ede0f91d80b058289c
drivers/net/ftgmac100: refactor ftgmac100_reset_task to enable direct function call

This is to prepare for ftgmac100_adjust_link() to call reset function
directly, instead of task schedule.

Signed-off-by: Heyi Guo <guoheyi@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c