Skip to content

Commit 66cc044

Browse files
Rafał MiłeckiKalle Valo
authored andcommitted
bcma: use bcma_debug and pr_cont in MIPS driver
Using bcma_debug gives a device-specific prefix for messages and pr_cont is a common helper for continuing a line. Signed-off-by: Rafał Miłecki <[email protected]> Acked-By: Hauke Mehrtens <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent a7986ce commit 66cc044

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/bcma/driver_mips.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,11 @@ static void bcma_core_mips_print_irq(struct bcma_device *dev, unsigned int irq)
184184
{
185185
int i;
186186
static const char *irq_name[] = {"2(S)", "3", "4", "5", "6", "D", "I"};
187-
printk(KERN_DEBUG KBUILD_MODNAME ": core 0x%04x, irq :", dev->id.id);
187+
188+
bcma_debug(dev->bus, "core 0x%04x, irq :", dev->id.id);
188189
for (i = 0; i <= 6; i++)
189-
printk(" %s%s", irq_name[i], i == irq ? "*" : " ");
190-
printk("\n");
190+
pr_cont(" %s%s", irq_name[i], i == irq ? "*" : " ");
191+
pr_cont("\n");
191192
}
192193

193194
static void bcma_core_mips_dump_irq(struct bcma_bus *bus)

0 commit comments

Comments
 (0)