PCI: shpchp: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Fri, 20 Oct 2017 20:11:42 +0000 (15:11 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Nov 2017 00:48:57 +0000 (18:48 -0600)
commit3691314a905fd716de46735d944da3f374246550
tree9935df51880849a58b20b7306ae2bab6fe770820
parent34d773f6ca5b4b5b1961836b557d34314226aa23
PCI: shpchp: 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.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Quentin Lambert <lambert.quentin@gmail.com>
Cc: Aleksandr Bezzubikov <zuban32s@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
drivers/pci/hotplug/shpchp_hpc.c