]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Bluetooth: btmtksdio: clean up inconsistent error message in btmtksdio_mtk_reg_read
authorSean Wang <sean.wang@mediatek.com>
Sun, 9 Jan 2022 19:24:01 +0000 (03:24 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 Jan 2022 16:41:39 +0000 (17:41 +0100)
Have "..reg (%d)" to be consistent with the other similar error messages.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c

index d82ba9d71fb8dd0b4d4be1c37a496c04c59435e3..25fb9c79b1f42e84495924cafa699c09f85d526a 100644 (file)
@@ -816,7 +816,7 @@ static int btmtksdio_mtk_reg_read(struct hci_dev *hdev, u32 reg, u32 *val)
 
        err = mtk_hci_wmt_sync(hdev, &wmt_params);
        if (err < 0) {
-               bt_dev_err(hdev, "Failed to read reg(%d)", err);
+               bt_dev_err(hdev, "Failed to read reg (%d)", err);
                return err;
        }