[PATCH v1 1/4] Bluetooth: btmtksdio: Drop newline with bt_dev logging macros

From: sean.wang
Date: Thu Apr 18 2019 - 05:08:52 EST


From: Sean Wang <sean.wang@xxxxxxxxxxxx>

bt_dev logging macros already include a newline at each output
so drop these unnecessary additional newlines in the driver.

Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx>
---
drivers/bluetooth/btmtksdio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 7d0d1cb93b0e..681e3e34977e 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -487,15 +487,15 @@ static void btmtksdio_interrupt(struct sdio_func *func)
sdio_writel(func, int_status, MTK_REG_CHISR, NULL);

if (unlikely(!int_status))
- bt_dev_err(bdev->hdev, "CHISR is 0\n");
+ bt_dev_err(bdev->hdev, "CHISR is 0");

if (int_status & FW_OWN_BACK_INT)
- bt_dev_dbg(bdev->hdev, "Get fw own back\n");
+ bt_dev_dbg(bdev->hdev, "Get fw own back");

if (int_status & TX_EMPTY)
schedule_work(&bdev->tx_work);
else if (unlikely(int_status & TX_FIFO_OVERFLOW))
- bt_dev_warn(bdev->hdev, "Tx fifo overflow\n");
+ bt_dev_warn(bdev->hdev, "Tx fifo overflow");

if (int_status & RX_DONE_INT) {
rx_size = (int_status & RX_PKT_LEN) >> 16;
--
2.18.0