summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-01-21 21:56:27 -0800
committerBryan Wu <cooloney@gmail.com>2013-02-01 17:47:06 -0800
commit0c0d9067ac6ff1326f24ad6e711fe88893785ca9 (patch)
treefadb78f9eba64925771cabbe194f9ba76144d5b6 /drivers/leds
parent4d7983324507ff23ddf0b6e513864d4eca7a62f1 (diff)
downloadlinux-3.10-0c0d9067ac6ff1326f24ad6e711fe88893785ca9.tar.gz
linux-3.10-0c0d9067ac6ff1326f24ad6e711fe88893785ca9.tar.bz2
linux-3.10-0c0d9067ac6ff1326f24ad6e711fe88893785ca9.zip
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 65d79284c48..4117235ba61 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;