Commit d182215d authored by Alex Lu's avatar Alex Lu Committed by Marcel Holtmann

Bluetooth: btrtl: Remove redundant prefix from calls to rtl_dev macros

the rtl: or RTL: prefix in the string is pointless. The rtl_dev_* macros
already does that.
Signed-off-by: default avatarAlex Lu <alex_lu@realsil.com.cn>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 240b64a8
...@@ -213,7 +213,7 @@ static int rtl_read_rom_version(struct hci_dev *hdev, u8 *version) ...@@ -213,7 +213,7 @@ static int rtl_read_rom_version(struct hci_dev *hdev, u8 *version)
} }
if (skb->len != sizeof(*rom_version)) { if (skb->len != sizeof(*rom_version)) {
rtl_dev_err(hdev, "RTL version event length mismatch\n"); rtl_dev_err(hdev, "version event length mismatch\n");
kfree_skb(skb); kfree_skb(skb);
return -EIO; return -EIO;
} }
...@@ -451,7 +451,7 @@ static int rtl_load_file(struct hci_dev *hdev, const char *name, u8 **buff) ...@@ -451,7 +451,7 @@ static int rtl_load_file(struct hci_dev *hdev, const char *name, u8 **buff)
const struct firmware *fw; const struct firmware *fw;
int ret; int ret;
rtl_dev_info(hdev, "rtl: loading %s\n", name); rtl_dev_info(hdev, "loading %s\n", name);
ret = request_firmware(&fw, name, &hdev->dev); ret = request_firmware(&fw, name, &hdev->dev);
if (ret < 0) if (ret < 0)
return ret; return ret;
...@@ -551,7 +551,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, ...@@ -551,7 +551,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
} }
resp = (struct hci_rp_read_local_version *)skb->data; resp = (struct hci_rp_read_local_version *)skb->data;
rtl_dev_info(hdev, "rtl: examining hci_ver=%02x hci_rev=%04x lmp_ver=%02x lmp_subver=%04x\n", rtl_dev_info(hdev, "examining hci_ver=%02x hci_rev=%04x lmp_ver=%02x lmp_subver=%04x\n",
resp->hci_ver, resp->hci_rev, resp->hci_ver, resp->hci_rev,
resp->lmp_ver, resp->lmp_subver); resp->lmp_ver, resp->lmp_subver);
...@@ -564,7 +564,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, ...@@ -564,7 +564,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
hdev->bus); hdev->bus);
if (!btrtl_dev->ic_info) { if (!btrtl_dev->ic_info) {
rtl_dev_info(hdev, "rtl: unknown IC info, lmp subver %04x, hci rev %04x, hci ver %04x", rtl_dev_info(hdev, "unknown IC info, lmp subver %04x, hci rev %04x, hci ver %04x",
lmp_subver, hci_rev, hci_ver); lmp_subver, hci_rev, hci_ver);
return btrtl_dev; return btrtl_dev;
} }
...@@ -622,7 +622,7 @@ int btrtl_download_firmware(struct hci_dev *hdev, ...@@ -622,7 +622,7 @@ int btrtl_download_firmware(struct hci_dev *hdev,
* to a different value. * to a different value.
*/ */
if (!btrtl_dev->ic_info) { if (!btrtl_dev->ic_info) {
rtl_dev_info(hdev, "rtl: assuming no firmware upload needed\n"); rtl_dev_info(hdev, "assuming no firmware upload needed\n");
return 0; return 0;
} }
...@@ -636,7 +636,7 @@ int btrtl_download_firmware(struct hci_dev *hdev, ...@@ -636,7 +636,7 @@ int btrtl_download_firmware(struct hci_dev *hdev,
case RTL_ROM_LMP_8822B: case RTL_ROM_LMP_8822B:
return btrtl_setup_rtl8723b(hdev, btrtl_dev); return btrtl_setup_rtl8723b(hdev, btrtl_dev);
default: default:
rtl_dev_info(hdev, "rtl: assuming no firmware upload needed\n"); rtl_dev_info(hdev, "assuming no firmware upload needed\n");
return 0; return 0;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment