]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
backlight: pcf50633: fix checkpatch warning
authorJingoo Han <jg1.han@samsung.com>
Thu, 15 Nov 2012 02:38:15 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:32:02 +0000 (17:32 +1100)
This patch fixes the checkpatch warning as below:

WARNING: please, no spaces at the start of a line

Also, long comments are fixed for the preferred style.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/pcf50633-backlight.c

index c092159f438344dab682d8a1410169b45524d2ad..930fc2a6e18722815a5cf67d4b38ab86f371b35b 100644 (file)
@@ -52,7 +52,7 @@ int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit)
        pcf_bl->brightness_limit = limit & 0x3f;
        backlight_update_status(pcf_bl->bl);
 
-    return 0;
+       return 0;
 }
 
 static int pcf50633_bl_update_status(struct backlight_device *bl)
@@ -136,8 +136,10 @@ static int __devinit pcf50633_bl_probe(struct platform_device *pdev)
 
        pcf50633_reg_write(pcf_bl->pcf, PCF50633_REG_LEDDIM, pdata->ramp_time);
 
-       /* Should be different from bl_props.brightness, so we do not exit
-        * update_status early the first time it's called */
+       /*
+        * Should be different from bl_props.brightness, so we do not exit
+        * update_status early the first time it's called
+        */
        pcf_bl->brightness = pcf_bl->bl->props.brightness + 1;
 
        backlight_update_status(pcf_bl->bl);