Staging: winbond: Fix printk() should include KERN_ facility level in wb35rx.c
[deliverable/linux.git] / drivers / staging / winbond / wb35rx.c
index 86f8a7e2a91c692b0efa8e5760a5a4e346ef7a65..f006b166aebc7a578423bf9d79e3a04d2307e9b4 100644 (file)
@@ -261,7 +261,7 @@ static void Wb35Rx(struct ieee80211_hw *hw)
 
        pWb35Rx->pDRx = kzalloc(MAX_USB_RX_BUFFER, GFP_ATOMIC);
        if (!pWb35Rx->pDRx) {
-               printk("w35und: Rx memory alloc failed\n");
+               dev_info(&hw->wiphy->dev, "w35und: Rx memory alloc failed\n");
                goto error;
        }
        pRxBufferAddress = pWb35Rx->pDRx;
@@ -276,7 +276,7 @@ static void Wb35Rx(struct ieee80211_hw *hw)
        retv = usb_submit_urb(urb, GFP_ATOMIC);
 
        if (retv != 0) {
-               printk("Rx URB sending error\n");
+               dev_info(&hw->wiphy->dev, "Rx URB sending error\n");
                goto error;
        }
        return;
This page took 0.034014 seconds and 5 git commands to generate.