OSDN Git Service

i2c/busses: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:27:29 +0000 (16:27 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Oct 2017 13:53:30 +0000 (15:53 +0200)
commitb9e43e363d0115ca981c106d968e24140ad37f6c
treea7793b0a759b117d0a0de479eff885e41d3e3271
parent3990bedea6e96cb1f182dbeadd62215dbb9e1c85
i2c/busses: 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: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-img-scb.c
drivers/i2c/busses/i2c-pnx.c