From: Lukas Wunner Date: Wed, 10 Jan 2018 15:32:10 +0000 (+0100) Subject: Bluetooth: hci_bcm: Silence IRQ printk X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5954cdf1793a0e1296e495884669c79f9ef2b2b3;p=linux.git Bluetooth: hci_bcm: Silence IRQ printk The host wake IRQ is optional, but if none is found, "BCM irq: -22" is logged which may irritate users. This is really a debug message, so use dev_dbg() instead of dev_info(). If users are interested in the IRQ, they can always consult /proc/interrupts. Cc: Frédéric Danis Reviewed-by: Andy Shevchenko Signed-off-by: Lukas Wunner Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 3e818a429fc5e..0929a264bffa1 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -943,7 +943,7 @@ static int bcm_get_resources(struct bcm_device *dev) dev->irq = gpiod_to_irq(gpio); } - dev_info(dev->dev, "BCM irq: %d\n", dev->irq); + dev_dbg(dev->dev, "BCM irq: %d\n", dev->irq); return 0; }