diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-16 17:29:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-18 12:40:26 +0100 |
commit | d039ef68e94eae81c13b0b39a18f0c3455491e4c (patch) | |
tree | d8fc0d5a71e27dcc9495280d57f54c59dff6d718 /drivers/net/ethernet/intel/e1000e | |
parent | e84a2ac9ffa9b1ba211c8982f07cd92f60239c3e (diff) | |
download | linux-d039ef68e94eae81c13b0b39a18f0c3455491e4c.tar.bz2 |
net: hns: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. Switches test of .data field to
.function, since .data will be going away.
Cc: Yisen Zhuang <yisen.zhuang@huawei.com>
Cc: Salil Mehta <salil.mehta@huawei.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: lipeng <lipeng321@huawei.com>
Cc: Lin Yun Sheng <linyunsheng@huawei.com>
Cc: Kejian Yan <yankejian@huawei.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e')
0 files changed, 0 insertions, 0 deletions