diff mbox

[1/2] leds: leds-rb532: Fix checkpatch errors

Message ID 1354077490-22292-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Nov. 28, 2012, 4:38 a.m. UTC
Fixes the following issues:
ERROR: code indent should use tabs where possible
WARNING: please, no spaces at the start of a line

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/leds/leds-rb532.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Bryan Wu Nov. 28, 2012, 11:14 p.m. UTC | #1
On Tue, Nov 27, 2012 at 8:38 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Fixes the following issues:
> ERROR: code indent should use tabs where possible
> WARNING: please, no spaces at the start of a line
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Merged, thanks.
-Bryan

> ---
>  drivers/leds/leds-rb532.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c
> index a7815b6..f4a4851 100644
> --- a/drivers/leds/leds-rb532.c
> +++ b/drivers/leds/leds-rb532.c
> @@ -16,7 +16,7 @@
>  #include <asm/mach-rc32434/rb.h>
>
>  static void rb532_led_set(struct led_classdev *cdev,
> -                          enum led_brightness brightness)
> +                         enum led_brightness brightness)
>  {
>         if (brightness)
>                 set_latch_u5(LO_ULED, 0);
> --
> 1.7.4.1
>
diff mbox

Patch

diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c
index a7815b6..f4a4851 100644
--- a/drivers/leds/leds-rb532.c
+++ b/drivers/leds/leds-rb532.c
@@ -16,7 +16,7 @@ 
 #include <asm/mach-rc32434/rb.h>
 
 static void rb532_led_set(struct led_classdev *cdev,
-                          enum led_brightness brightness)
+			  enum led_brightness brightness)
 {
 	if (brightness)
 		set_latch_u5(LO_ULED, 0);