diff options
author | Ebru Akagunduz <ebru.akagunduz@gmail.com> | 2014-03-09 22:36:21 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-18 22:37:43 +0400 |
commit | 74a1fb6748ad9b66bcb073039b8ff7245f9d342d (patch) | |
tree | 9b0f25b075444796e081c87c539ebce788aaa3ba /drivers/staging/winbond | |
parent | 256a38b0486cf2d8f1134f1d1068f9bf3a0740a8 (diff) | |
download | linux-74a1fb6748ad9b66bcb073039b8ff7245f9d342d.tar.xz |
Staging: winbond: Fix printk() should include KERN_ facility level in wb35rx.c
Fix checkpatch.pl issues with printk() should include
KERN_ facility level in wb35rx.c
Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/winbond')
-rw-r--r-- | drivers/staging/winbond/wb35rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/winbond/wb35rx.c b/drivers/staging/winbond/wb35rx.c index 86f8a7e2a91c..f006b166aebc 100644 --- a/drivers/staging/winbond/wb35rx.c +++ b/drivers/staging/winbond/wb35rx.c @@ -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; |