]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
video: fbdev: pxa3xx_gcu: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Fri, 10 Nov 2017 15:34:51 +0000 (16:34 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 10 Nov 2017 15:34:51 +0000 (16:34 +0100)
commite4a67df75a7b93b1bcddf576fa9122da2305dc8b
treeeb84ba7861c36415c2fc6448e68c187568ccde32
parentac831a379d34109451b3c41a44a20ee10ecb615f
video: fbdev: pxa3xx_gcu: 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 also fixes the use of the "priv" variable in QERROR(), since it was
pointing to struct timer_list, not struct pxa3xx_gcu_priv.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Cc: Himanshu Jha <himanshujha199640@gmail.com>
[b.zolnierkie: trivial build fixup]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/pxa3xx-gcu.c