Re: [PATCH] Input: keyboard: omap-keypad: Fixed coding style issue.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 23, 2012 at 08:20:21PM -0400, Josh wrote:
> Fixed spacing error on if statements and fixed tab error.
> Signed-off-by: Josh <joshua.taylor0@xxxxxxxxx>

Applied, thank you Josh.

> ---
>  drivers/input/keyboard/omap-keypad.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c
> index a0222db..b03c5b9 100644
> --- a/drivers/input/keyboard/omap-keypad.c
> +++ b/drivers/input/keyboard/omap-keypad.c
> @@ -214,7 +214,7 @@ static void omap_kp_tasklet(unsigned long data)
>  	memcpy(keypad_state, new_state, sizeof(keypad_state));
>  
>  	if (key_down) {
> -                int delay = HZ / 20;
> +		int delay = HZ / 20;
>  		/* some key is pressed - keep irq disabled and use timer
>  		 * to poll the keypad */
>  		if (spurious)
> @@ -413,7 +413,7 @@ static int __devinit omap_kp_probe(struct platform_device *pdev)
>  	}
>  	return 0;
>  err5:
> -	for (i = irq_idx - 1; i >=0; i--)
> +	for (i = irq_idx - 1; i >= 0; i--)
>  		free_irq(row_gpios[i], omap_kp);
>  err4:
>  	input_unregister_device(omap_kp->input);
> @@ -421,10 +421,10 @@ err4:
>  err3:
>  	device_remove_file(&pdev->dev, &dev_attr_enable);
>  err2:
> -	for (i = row_idx - 1; i >=0; i--)
> +	for (i = row_idx - 1; i >= 0; i--)
>  		gpio_free(row_gpios[i]);
>  err1:
> -	for (i = col_idx - 1; i >=0; i--)
> +	for (i = col_idx - 1; i >= 0; i--)
>  		gpio_free(col_gpios[i]);
>  
>  	kfree(omap_kp);
> -- 
> 1.7.9.5
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux