Skip to content

Commit

Permalink
staging: frontier: Fix coding style issues in 2 files.
Browse files Browse the repository at this point in the history
This patch removes unecessary whitespace before quoted newlines
in two files.
One warning in each file remains unresolved.

Signed-off-by: Michael Tate <michael.tate@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Michael Tate authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 8dba599 commit 1e1d25c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/frontier/alphatrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static void usb_alphatrack_interrupt_in_callback(struct urb *urb)
if (urb->actual_length != INPUT_CMD_SIZE) {
dev_warn(&dev->intf->dev,
"Urb length was %d bytes!!"
"Do something intelligent \n", urb->actual_length);
"Do something intelligent\n", urb->actual_length);
} else {
alphatrack_ocmd_info(&dev->intf->dev,
&(*dev->ring_buffer)[dev->ring_tail].cmd,
Expand Down Expand Up @@ -599,7 +599,7 @@ static ssize_t usb_alphatrack_write(struct file *file,
}

if (dev->interrupt_out_endpoint == NULL) {
err("Endpoint should not be be null! \n");
err("Endpoint should not be be null!\n");
goto unlock_exit;
}

Expand Down Expand Up @@ -771,7 +771,7 @@ static int usb_alphatrack_probe(struct usb_interface *intf,
kmalloc(sizeof(struct alphatrack_ocmd) * true_size, GFP_KERNEL);

if (!dev->write_buffer) {
dev_err(&intf->dev, "Couldn't allocate write_buffer \n");
dev_err(&intf->dev, "Couldn't allocate write_buffer\n");
goto error;
}

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/frontier/tranzport.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ static void usb_tranzport_interrupt_in_callback(struct urb *urb)
if (urb->actual_length != 8) {
dev_warn(&dev->intf->dev,
"Urb length was %d bytes!!"
"Do something intelligent \n",
"Do something intelligent\n",
urb->actual_length);
} else {
dbg_info(&dev->intf->dev,
Expand Down Expand Up @@ -724,7 +724,7 @@ static ssize_t usb_tranzport_write(struct file *file,
}

if (dev->interrupt_out_endpoint == NULL) {
err("Endpoint should not be be null! \n");
err("Endpoint should not be be null!\n");
goto unlock_exit;
}

Expand Down

0 comments on commit 1e1d25c

Please sign in to comment.