Bluetooth: hci_qca: Rename STATE_<flags> to QCA_<flags>
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 29 Apr 2019 23:21:30 +0000 (16:21 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 5 May 2019 17:34:00 +0000 (19:34 +0200)
commit62a91990f4c52f0b56cfae3e4093a27ed61c49db
treeb29caebb41b73cce339da4ef7929e20e2c406b97
parentf80c5dad7b6467b884c445ffea45985793b4b2d0
Bluetooth: hci_qca: Rename STATE_<flags> to QCA_<flags>

Rename STATE_IN_BAND_SLEEP_ENABLED to QCA_IBS_ENABLED. The constant
represents a flag (multiple flags can be set at once), not a unique
state of the controller or driver.

Also make the flag an enum value instead of a pre-processor constant
(more flags will be added to the enum group by another patch).

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c