Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcma: use dev_* printing functions

It provides more meaningful messages.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

authored by

Rafał Miłecki and committed by
Kalle Valo
777bc480 5a1c18b7

+4 -4
+4 -4
drivers/bcma/bcma_private.h
··· 10 10 #include <linux/delay.h> 11 11 12 12 #define bcma_err(bus, fmt, ...) \ 13 - pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 13 + dev_err((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 14 14 #define bcma_warn(bus, fmt, ...) \ 15 - pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 15 + dev_warn((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 16 16 #define bcma_info(bus, fmt, ...) \ 17 - pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 17 + dev_info((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 18 18 #define bcma_debug(bus, fmt, ...) \ 19 - pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 19 + dev_dbg((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 20 20 21 21 struct bcma_bus; 22 22