@@ -1469,7 +1469,7 @@ static int wl1251_register_hw(struct wl1251 *wl)
wl->mac80211_registered = true;
- wl1251_notice("loaded");
+ wiphy_info(wl->hw->wiphy, "loaded\n");
return 0;
}
@@ -1503,7 +1503,7 @@ int wl1251_init_ieee80211(struct wl1251 *wl)
goto out;
wl1251_debugfs_init(wl);
- wl1251_notice("initialized");
+ wiphy_info(wl->hw->wiphy, "initialized\n");
ret = 0;
@@ -382,7 +382,7 @@ static int __init wl1251_sdio_init(void)
static void __exit wl1251_sdio_exit(void)
{
sdio_unregister_driver(&wl1251_sdio_driver);
- wl1251_notice("unloaded");
+ pr_info("unloaded\n");
}
module_init(wl1251_sdio_init);
@@ -54,9 +54,6 @@ enum {
#define DEBUG_DUMP_LIMIT 1024
-#define wl1251_notice(fmt, arg...) \
- printk(KERN_INFO DRIVER_PREFIX fmt "\n", ##arg)
-
#define wl1251_info(fmt, arg...) \
printk(KERN_DEBUG DRIVER_PREFIX fmt "\n", ##arg)
Use the more common logging mechanisms. Convert to wiphy_info as these wl1251_notice uses were actually emitted at KERN_INFO. Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/wireless/ti/wl1251/main.c | 4 ++-- drivers/net/wireless/ti/wl1251/sdio.c | 2 +- drivers/net/wireless/ti/wl1251/wl1251.h | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-)