diff mbox series

[v5,5/5] Bluetooth: btmtksdio: clean up inconsistent error message in btmtksdio_mtk_reg_read

Message ID 7a5491bd4192cbd7423c8769641df9045a565ad4.1641755121.git.objelf@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v5,1/5] Bluetooth: btmtksdio: rename btsdio_mtk_reg_read | expand

Commit Message

Sean Wang Jan. 9, 2022, 7:24 p.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Have "..reg (%d)" to be consistent with the other similar error messages.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
v5: new created to make the series better
---
 drivers/bluetooth/btmtksdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index d82ba9d71fb8..25fb9c79b1f4 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -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;
 	}