mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 12:10:38 -04:00
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>
This commit is contained in:
@@ -617,7 +617,7 @@ struct hci_dev {
|
||||
int (*set_diag)(struct hci_dev *hdev, bool enable);
|
||||
int (*set_bdaddr)(struct hci_dev *hdev, const bdaddr_t *bdaddr);
|
||||
void (*cmd_timeout)(struct hci_dev *hdev);
|
||||
bool (*prevent_wake)(struct hci_dev *hdev);
|
||||
bool (*wakeup)(struct hci_dev *hdev);
|
||||
int (*set_quality_report)(struct hci_dev *hdev, bool enable);
|
||||
int (*get_data_path_id)(struct hci_dev *hdev, __u8 *data_path);
|
||||
int (*get_codec_config_data)(struct hci_dev *hdev, __u8 type,
|
||||
|
||||
Reference in New Issue
Block a user