OSDN Git Service

Bluetooth: btqca: Rename ROME specific functions to generic functions
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Fri, 3 Aug 2018 12:16:27 +0000 (17:46 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Aug 2018 12:44:06 +0000 (14:44 +0200)
commitba493d4fbcb84bd14842c61cc077ffb5b3f7ecb1
tree8badf5e60aa1414f1a7ea316f5e3f8f09dd7bd70
parent505013555a47c8dfed11bd124d2f4ea71988c21e
Bluetooth: btqca: Rename ROME specific functions to generic functions

Some of the QCA BTSoC ROME functions, are used for different versions
or different make of BTSoC's. Instead of duplicating the same functions
for new chip, update names of the functions that are used for both
chips to keep this generic and would help in future when we would have
new BT SoC. To have generic text in logs updated from ROME to QCA where
ever possible. This avoids confusion to user, when using the future
Qualcomm Bluetooth SoC's. Updated BT_DBG, BT_ERR and BT_INFO with
bt_dev_dbg, bt_dev_err and bt_dev_info where ever applicable.

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