summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-01-22 06:56:27 +0100
committerBryan Wu <cooloney@gmail.com>2013-02-02 02:47:06 +0100
commit0c0d9067ac6ff1326f24ad6e711fe88893785ca9 (patch)
treefadb78f9eba64925771cabbe194f9ba76144d5b6
parentleds: renesas-tpu: Improve the readability to pick the lowest acceptable rate (diff)
downloadlinux-0c0d9067ac6ff1326f24ad6e711fe88893785ca9.tar.xz
linux-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>
-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 65d79284c488..4117235ba618 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;