Skip to content

Commit

Permalink
Bluetooth: btmtksdio: Drop newline with bt_dev logging macros
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
  • Loading branch information
moore-bros authored and holtmann committed Apr 23, 2019
1 parent 98df744 commit e1052fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/bluetooth/btmtksdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e1052fb

Please sign in to comment.