mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
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>
This commit is contained in:
parent
753f5d91d3
commit
24a3a32a99
@ -64,7 +64,7 @@ static irqreturn_t btmrvl_wake_irq_bt(int irq, void *priv)
|
|||||||
struct btmrvl_sdio_card *card = priv;
|
struct btmrvl_sdio_card *card = priv;
|
||||||
struct btmrvl_plt_wake_cfg *cfg = card->plt_wake_cfg;
|
struct btmrvl_plt_wake_cfg *cfg = card->plt_wake_cfg;
|
||||||
|
|
||||||
pr_info("%s: wake by bt", __func__);
|
pr_info("%s: wake by bt\n", __func__);
|
||||||
cfg->wake_by_bt = true;
|
cfg->wake_by_bt = true;
|
||||||
disable_irq_nosync(irq);
|
disable_irq_nosync(irq);
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
|
|||||||
|
|
||||||
if (!dev->of_node ||
|
if (!dev->of_node ||
|
||||||
!of_match_node(btmrvl_sdio_of_match_table, dev->of_node)) {
|
!of_match_node(btmrvl_sdio_of_match_table, dev->of_node)) {
|
||||||
pr_err("sdio platform data not available");
|
pr_err("sdio platform data not available\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
|
|||||||
if (cfg && card->plt_of_node) {
|
if (cfg && card->plt_of_node) {
|
||||||
cfg->irq_bt = irq_of_parse_and_map(card->plt_of_node, 0);
|
cfg->irq_bt = irq_of_parse_and_map(card->plt_of_node, 0);
|
||||||
if (!cfg->irq_bt) {
|
if (!cfg->irq_bt) {
|
||||||
dev_err(dev, "fail to parse irq_bt from device tree");
|
dev_err(dev, "fail to parse irq_bt from device tree\n");
|
||||||
cfg->irq_bt = -1;
|
cfg->irq_bt = -1;
|
||||||
} else {
|
} else {
|
||||||
ret = devm_request_irq(dev, cfg->irq_bt,
|
ret = devm_request_irq(dev, cfg->irq_bt,
|
||||||
|
Loading…
Reference in New Issue
Block a user