]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Rename driver .prevent_wake to .wakeup
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 1 Oct 2021 20:22:31 +0000 (13:22 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 1 Oct 2021 22:46:15 +0000 (15:46 -0700)
commitd3f9e857660617e2888ab1b99b4fe59b57d3392d
treec71c8ccc9230672369764fd2f77b4eeb89f838b0
parent0a929e38ace32084aed21dafedb0e64ffd5ba606
Bluetooth: Rename driver .prevent_wake to .wakeup

prevent_wake logic is backward since what it is really checking is
if the device may wakeup the system or not, not that it will prevent
the to be awaken.

Also looking on how other subsystems have the entry as power/wakeup
this also renames the force_prevent_wake to force_wakeup in vhci driver.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_main.c
drivers/bluetooth/btusb.c
drivers/bluetooth/hci_qca.c
drivers/bluetooth/hci_vhci.c
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c