]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PM / core: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:20:55 +0000 (16:20 -0700)
committerRafael J. Wysocki <rjw@rjwysocki.net>
Tue, 24 Oct 2017 08:27:42 +0000 (10:27 +0200)
commit96428e98aebe5db8a164711f102808651c7f518d
treed587150088277fb9e381747e88d940093617d4c8
parentb082ddd8a6a3aa0399763bfb58fc7bdd84c95713
PM / core: 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. Removes test of .data field, since
that will be going away.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/runtime.c
drivers/base/power/wakeup.c