Skip to content

Commit 24a3a32

Browse files
ArvindYadavCsholtmann
authored andcommitted
Bluetooth: btmrvl: *_err() and *_info() strings should end with newlines
pr_err(), dev_err() and pr_info() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1 parent 753f5d9 commit 24a3a32

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/bluetooth/btmrvl_sdio.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static irqreturn_t btmrvl_wake_irq_bt(int irq, void *priv)
6464
struct btmrvl_sdio_card *card = priv;
6565
struct btmrvl_plt_wake_cfg *cfg = card->plt_wake_cfg;
6666

67-
pr_info("%s: wake by bt", __func__);
67+
pr_info("%s: wake by bt\n", __func__);
6868
cfg->wake_by_bt = true;
6969
disable_irq_nosync(irq);
7070

@@ -87,7 +87,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
8787

8888
if (!dev->of_node ||
8989
!of_match_node(btmrvl_sdio_of_match_table, dev->of_node)) {
90-
pr_err("sdio platform data not available");
90+
pr_err("sdio platform data not available\n");
9191
return -1;
9292
}
9393

@@ -99,7 +99,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
9999
if (cfg && card->plt_of_node) {
100100
cfg->irq_bt = irq_of_parse_and_map(card->plt_of_node, 0);
101101
if (!cfg->irq_bt) {
102-
dev_err(dev, "fail to parse irq_bt from device tree");
102+
dev_err(dev, "fail to parse irq_bt from device tree\n");
103103
cfg->irq_bt = -1;
104104
} else {
105105
ret = devm_request_irq(dev, cfg->irq_bt,

0 commit comments

Comments
 (0)