OSDN Git Service

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)
commit4539ca67fe8edef34f522fd53da138e2ede13464
treec71c8ccc9230672369764fd2f77b4eeb89f838b0
parentcd36742a957c37f6cd17124dac6dd1d61aeba4ab
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