]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Bluetooth: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 00:54:29 +0000 (17:54 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Oct 2017 18:37:11 +0000 (20:37 +0200)
commit0435605289298a7311f78d02eb6a015cae7dbaf7
tree7c0ef1f26a29d7ff9235e0b3d76876061c661cae
parent8a92056837fd5168fce730c5e21eaf3af7cf0b16
Bluetooth: 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. As already done in hci_qca, add
struct hci_uart pointer to priv structure.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/hci_bcsp.c
drivers/bluetooth/hci_h5.c
drivers/bluetooth/hci_qca.c