aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-08-30 21:53:24 +0000
committerKees Cook <[email protected]>2017-11-06 20:50:09 +0000
commit5ea22086ed42bef8dde93f45a42a3ace486eb788 (patch)
tree3fb75d197d16d63878fdb4a478e9f6a555a95f80 /drivers/fpga
parentide: Convert timers to use timer_setup() (diff)
downloadkernel-5ea22086ed42bef8dde93f45a42a3ace486eb788.tar.gz
kernel-5ea22086ed42bef8dde93f45a42a3ace486eb788.zip
block/aoe: discover_timer: 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. This refactors the discover_timer to remove the needless locking and state machine used for synchronizing timer death. Using del_timer_sync() will already do the right thing. Cc: Jens Axboe <[email protected]> Cc: "Ed L. Cashin" <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions