]> 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>
Wed, 25 Apr 2012 01:04:00 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:32 +0000 (15:17 +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;