[01/12] trivial: drivers/media/usb/gspca/gspca.c: fix the indentation of a comment

Message ID 1401883430-19492-2-git-send-email-ao2@ao2.it (mailing list archive)
State Accepted, archived
Delegated to: Hans de Goede
Headers

Commit Message

Antonio Ospite June 4, 2014, 12:03 p.m. UTC
  Fix indentation of a comment, put it on the same level of the code it
refers to.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: linux-media@vger.kernel.org
---
 drivers/media/usb/gspca/gspca.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
  

Comments

Antonio Ospite Sept. 1, 2014, 7:23 a.m. UTC | #1
On Wed,  4 Jun 2014 14:03:39 +0200
Antonio Ospite <ao2@ao2.it> wrote:

> Fix indentation of a comment, put it on the same level of the code it
> refers to.
>
> Signed-off-by: Antonio Ospite <ao2@ao2.it>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: linux-media@vger.kernel.org

Ping, I cannot see this in any upstream repository.
Here is the linux-media patchwork link:
https://patchwork.linuxtv.org/patch/24155/

Thanks,
   Antonio

> ---
>  drivers/media/usb/gspca/gspca.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/media/usb/gspca/gspca.c b/drivers/media/usb/gspca/gspca.c
> index f3a7ace..f4bae98 100644
> --- a/drivers/media/usb/gspca/gspca.c
> +++ b/drivers/media/usb/gspca/gspca.c
> @@ -870,9 +870,8 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev)
>  		ep_tb[0].alt = gspca_dev->alt;
>  		alt_idx = 1;
>  	} else {
> -
> -	/* else, compute the minimum bandwidth
> -	 * and build the endpoint table */
> +		/* else, compute the minimum bandwidth
> +		 * and build the endpoint table */
>  		alt_idx = build_isoc_ep_tb(gspca_dev, intf, ep_tb);
>  		if (alt_idx <= 0) {
>  			pr_err("no transfer endpoint found\n");
> -- 
> 2.0.0
> 
>
  

Patch

diff --git a/drivers/media/usb/gspca/gspca.c b/drivers/media/usb/gspca/gspca.c
index f3a7ace..f4bae98 100644
--- a/drivers/media/usb/gspca/gspca.c
+++ b/drivers/media/usb/gspca/gspca.c
@@ -870,9 +870,8 @@  static int gspca_init_transfer(struct gspca_dev *gspca_dev)
 		ep_tb[0].alt = gspca_dev->alt;
 		alt_idx = 1;
 	} else {
-
-	/* else, compute the minimum bandwidth
-	 * and build the endpoint table */
+		/* else, compute the minimum bandwidth
+		 * and build the endpoint table */
 		alt_idx = build_isoc_ep_tb(gspca_dev, intf, ep_tb);
 		if (alt_idx <= 0) {
 			pr_err("no transfer endpoint found\n");