• Kees Cook's avatar
    HID: usbhid: Convert timers to use timer_setup() · 0ee32774
    Kees Cook authored
    In preparation for unconditionally passing the struct timer_list pointer to
    all timer callbacks, switch to using the new timer_setup() and from_timer()
    (introduced by 686fef92 ("timer: Prepare to change timer callback
    argument type")) to pass the timer pointer explicitly. Adds pointer back to
    hid_device for multitouch.
    
    [jkosina@suse.cz: extend changelog a little bit as asked for by Benjamin]
    Cc: Jiri Kosina <jikos@kernel.org>
    Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
    Cc: linux-input@vger.kernel.org
    Cc: linux-usb@vger.kernel.org
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    0ee32774
hid-multitouch.c 50 KB