提交 7365d475 编写于 作者: A Amitkumar Karwar 提交者: Marcel Holtmann

Bluetooth: btmrvl: remove extra newline character

BT_INFO/BT_DBG etc. already takes care of adding a newline
An extra newline character inside message is removed in this
patch.
Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 580039e8
...@@ -42,7 +42,7 @@ void btmrvl_interrupt(struct btmrvl_private *priv) ...@@ -42,7 +42,7 @@ void btmrvl_interrupt(struct btmrvl_private *priv)
priv->adapter->int_count++; priv->adapter->int_count++;
if (priv->adapter->hs_state == HS_ACTIVATED) { if (priv->adapter->hs_state == HS_ACTIVATED) {
BT_DBG("BT: HS DEACTIVATED in ISR!\n"); BT_DBG("BT: HS DEACTIVATED in ISR!");
priv->adapter->hs_state = HS_DEACTIVATED; priv->adapter->hs_state = HS_DEACTIVATED;
} }
...@@ -214,7 +214,7 @@ int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd) ...@@ -214,7 +214,7 @@ int btmrvl_send_module_cfg_cmd(struct btmrvl_private *priv, u8 subcmd)
ret = btmrvl_send_sync_cmd(priv, BT_CMD_MODULE_CFG_REQ, &subcmd, 1); ret = btmrvl_send_sync_cmd(priv, BT_CMD_MODULE_CFG_REQ, &subcmd, 1);
if (ret) if (ret)
BT_ERR("module_cfg_cmd(%x) failed\n", subcmd); BT_ERR("module_cfg_cmd(%x) failed", subcmd);
return ret; return ret;
} }
...@@ -250,7 +250,7 @@ int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv) ...@@ -250,7 +250,7 @@ int btmrvl_send_hscfg_cmd(struct btmrvl_private *priv)
ret = btmrvl_send_sync_cmd(priv, BT_CMD_HOST_SLEEP_CONFIG, param, 2); ret = btmrvl_send_sync_cmd(priv, BT_CMD_HOST_SLEEP_CONFIG, param, 2);
if (ret) if (ret)
BT_ERR("HSCFG command failed\n"); BT_ERR("HSCFG command failed");
return ret; return ret;
} }
...@@ -268,7 +268,7 @@ int btmrvl_enable_ps(struct btmrvl_private *priv) ...@@ -268,7 +268,7 @@ int btmrvl_enable_ps(struct btmrvl_private *priv)
ret = btmrvl_send_sync_cmd(priv, BT_CMD_AUTO_SLEEP_MODE, &param, 1); ret = btmrvl_send_sync_cmd(priv, BT_CMD_AUTO_SLEEP_MODE, &param, 1);
if (ret) if (ret)
BT_ERR("PSMODE command failed\n"); BT_ERR("PSMODE command failed");
return 0; return 0;
} }
...@@ -281,7 +281,7 @@ int btmrvl_enable_hs(struct btmrvl_private *priv) ...@@ -281,7 +281,7 @@ int btmrvl_enable_hs(struct btmrvl_private *priv)
ret = btmrvl_send_sync_cmd(priv, BT_CMD_HOST_SLEEP_ENABLE, NULL, 0); ret = btmrvl_send_sync_cmd(priv, BT_CMD_HOST_SLEEP_ENABLE, NULL, 0);
if (ret) { if (ret) {
BT_ERR("Host sleep enable command failed\n"); BT_ERR("Host sleep enable command failed");
return ret; return ret;
} }
...@@ -328,7 +328,7 @@ int btmrvl_prepare_command(struct btmrvl_private *priv) ...@@ -328,7 +328,7 @@ int btmrvl_prepare_command(struct btmrvl_private *priv)
} else { } else {
ret = priv->hw_wakeup_firmware(priv); ret = priv->hw_wakeup_firmware(priv);
priv->adapter->hs_state = HS_DEACTIVATED; priv->adapter->hs_state = HS_DEACTIVATED;
BT_DBG("BT: HS DEACTIVATED due to host activity!\n"); BT_DBG("BT: HS DEACTIVATED due to host activity!");
} }
} }
...@@ -493,7 +493,7 @@ static int btmrvl_download_cal_data(struct btmrvl_private *priv, ...@@ -493,7 +493,7 @@ static int btmrvl_download_cal_data(struct btmrvl_private *priv,
ret = btmrvl_send_sync_cmd(priv, BT_CMD_LOAD_CONFIG_DATA, data, ret = btmrvl_send_sync_cmd(priv, BT_CMD_LOAD_CONFIG_DATA, data,
BT_CAL_HDR_LEN + len); BT_CAL_HDR_LEN + len);
if (ret) if (ret)
BT_ERR("Failed to download caibration data\n"); BT_ERR("Failed to download caibration data");
return 0; return 0;
} }
......
...@@ -764,8 +764,8 @@ static void btmrvl_sdio_interrupt(struct sdio_func *func) ...@@ -764,8 +764,8 @@ static void btmrvl_sdio_interrupt(struct sdio_func *func)
card = sdio_get_drvdata(func); card = sdio_get_drvdata(func);
if (!card || !card->priv) { if (!card || !card->priv) {
BT_ERR("sbi_interrupt(%p) card or priv is " BT_ERR("sbi_interrupt(%p) card or priv is NULL, card=%p",
"NULL, card=%p\n", func, card); func, card);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册