aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgb/ixgb_main.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-16 17:29:34 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-18 12:40:26 +0100
commitd039ef68e94eae81c13b0b39a18f0c3455491e4c (patch)
treed8fc0d5a71e27dcc9495280d57f54c59dff6d718 /drivers/net/ethernet/intel/ixgb/ixgb_main.c
parentnet: neterion: Convert timers to use timer_setup() (diff)
downloadlinux-dev-d039ef68e94eae81c13b0b39a18f0c3455491e4c.tar.xz
linux-dev-d039ef68e94eae81c13b0b39a18f0c3455491e4c.zip
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 '')
0 files changed, 0 insertions, 0 deletions