]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
leds-add-led-driver-for-lm3556-chip-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 3 May 2012 05:44:23 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:47 +0000 (15:46 +1000)
WARNING: please write a paragraph that describes the config symbol fully
#35: FILE: drivers/leds/Kconfig:405:
+config LEDS_LM3556

ERROR: "foo * bar" should be "foo *bar"
#204: FILE: drivers/leds/leds-lm3556.c:142:
+static int lm3556_read_reg(struct i2c_client *client, u8 reg, u8 * val)

total: 1 errors, 1 warnings, 736 lines checked

./patches/leds-add-led-driver-for-lm3556-chip.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Geon Si Jeong <gshark.jeong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-lm3556.c

index 1f0045c404e446df401110420e246bf9ed889c85..cc0abbcfee1bd6b4b55eb6101516fd6affa7ae90 100644 (file)
@@ -139,7 +139,7 @@ static struct indicator indicator_pattern[INDIC_PATTERN_SIZE] = {
 };
 
 /* i2c access*/
-static int lm3556_read_reg(struct i2c_client *client, u8 reg, u8 * val)
+static int lm3556_read_reg(struct i2c_client *client, u8 reg, u8 *val)
 {
        int ret;