staging: ft1000: Fix coding style in ft1000_usb_transmit_complete function.

Fix coding style and also replace printk with proper pr_err
function.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Marek Belisko 2011-03-10 11:51:25 +01:00 committed by Greg Kroah-Hartman
parent 2dd9017b47
commit 251c72f84a
1 changed files with 4 additions and 4 deletions

View File

@ -902,14 +902,14 @@ static int ft1000_reset(struct net_device *dev)
static void ft1000_usb_transmit_complete(struct urb *urb)
{
struct ft1000_device *ft1000dev = urb->context;
struct ft1000_device *ft1000dev = urb->context;
//DEBUG("ft1000_usb_transmit_complete entered\n");
if (urb->status)
printk("%s: TX status %d\n", ft1000dev->net->name, urb->status);
if (urb->status)
pr_err("%s: TX status %d\n", ft1000dev->net->name, urb->status);
netif_wake_queue(ft1000dev->net);
netif_wake_queue(ft1000dev->net);
//DEBUG("Return from ft1000_usb_transmit_complete\n");
}