libertas_tf: move the banner to a more appropriate place
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 10 Feb 2019 19:48:11 +0000 (20:48 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 19 Feb 2019 15:11:21 +0000 (17:11 +0200)
Also, turn it to a dev_info() to make checkpatch.pl happy.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Steve deRosier <derosier@cal-sierra.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas_tf/main.c

index a7cb7d06e5e61335decf0a04c22ca29a8269659e..63f86001700a3d71e6bc401f738fc1c778958732 100644 (file)
@@ -318,7 +318,6 @@ static int lbtf_op_start(struct ieee80211_hw *hw)
                goto err_prog_firmware;
        }
 
-       printk(KERN_INFO "libertastf: Marvell WLAN 802.11 thinfirm adapter\n");
        lbtf_deb_leave(LBTF_DEB_MACOPS);
        return 0;
 
@@ -649,6 +648,7 @@ struct lbtf_private *lbtf_add_card(void *card, struct device *dmdev)
        if (ieee80211_register_hw(hw))
                goto err_init_adapter;
 
+       dev_info(dmdev, "libertastf: Marvell WLAN 802.11 thinfirm adapter\n");
        goto done;
 
 err_init_adapter: