All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: frontier: Remove unneeded spaces before newlines in alphatrack.c
@ 2010-03-14 15:04 Steven Harms
  2010-04-28 17:47 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Harms @ 2010-03-14 15:04 UTC (permalink / raw)
  To: gregkh, d, sharms, weiyi.huang, nm127; +Cc: devel, linux-kernel

Removed unneeded spaces preceding newlines, as indicated by the checkpatch tool.
Signed-off-by: Steven Harms <sharms@ubuntu.com>
---
 drivers/staging/frontier/alphatrack.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/frontier/alphatrack.c b/drivers/staging/frontier/alphatrack.c
index a50a215..ce4d663 100644
--- a/drivers/staging/frontier/alphatrack.c
+++ b/drivers/staging/frontier/alphatrack.c
@@ -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,
@@ -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;
 	}

@@ -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;
 	}

--
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: frontier: Remove unneeded spaces before newlines in alphatrack.c
  2010-03-14 15:04 [PATCH] staging: frontier: Remove unneeded spaces before newlines in alphatrack.c Steven Harms
@ 2010-04-28 17:47 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-04-28 17:47 UTC (permalink / raw)
  To: Steven Harms; +Cc: gregkh, d, sharms, weiyi.huang, nm127, devel, linux-kernel

On Sun, Mar 14, 2010 at 11:04:20AM -0400, Steven Harms wrote:
> Removed unneeded spaces preceding newlines, as indicated by the checkpatch tool.
> Signed-off-by: Steven Harms <sharms@ubuntu.com>
> ---
>  drivers/staging/frontier/alphatrack.c |    6 +++---

Sorry, but someone already made these changes to the file before you did
:(

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-28 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14 15:04 [PATCH] staging: frontier: Remove unneeded spaces before newlines in alphatrack.c Steven Harms
2010-04-28 17:47 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.