summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-01-22 05:56:27 (GMT)
committerBryan Wu <cooloney@gmail.com>2013-02-02 01:47:06 (GMT)
commit0c0d9067ac6ff1326f24ad6e711fe88893785ca9 (patch)
treefadb78f9eba64925771cabbe194f9ba76144d5b6 /drivers/leds
parent4d7983324507ff23ddf0b6e513864d4eca7a62f1 (diff)
downloadlinux-0c0d9067ac6ff1326f24ad6e711fe88893785ca9.tar.xz
leds: lm355x: rename devAttr to avoid CamelCase
Fixed the checkpatch warning as below: WARNING: Avoid CamelCase: <devAttr> Rename devAttr to attr. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-lm355x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c
index 65d7928..4117235 100644
--- a/drivers/leds/leds-lm355x.c
+++ b/drivers/leds/leds-lm355x.c
@@ -380,7 +380,7 @@ static void lm355x_indicator_brightness_set(struct led_classdev *cdev,
/* indicator pattern only for lm3556*/
static ssize_t lm3556_indicator_pattern_store(struct device *dev,
- struct device_attribute *devAttr,
+ struct device_attribute *attr,
const char *buf, size_t size)
{
ssize_t ret;