diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-01-22 00:57:20 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 20:47:06 -0500 |
commit | 85b4b756f1dda11556ead50ea884b8f1040f8c66 (patch) | |
tree | 879fd96e0d8c76183a19ab2d7048cb77cf122ad7 /drivers/leds | |
parent | 0c0d9067ac6ff1326f24ad6e711fe88893785ca9 (diff) |
leds: lm3642: 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-lm3642.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c index 07b3dde90613..9f428d9dfe91 100644 --- a/drivers/leds/leds-lm3642.c +++ b/drivers/leds/leds-lm3642.c | |||
@@ -176,7 +176,7 @@ out: | |||
176 | 176 | ||
177 | /* torch pin config for lm3642*/ | 177 | /* torch pin config for lm3642*/ |
178 | static ssize_t lm3642_torch_pin_store(struct device *dev, | 178 | static ssize_t lm3642_torch_pin_store(struct device *dev, |
179 | struct device_attribute *devAttr, | 179 | struct device_attribute *attr, |
180 | const char *buf, size_t size) | 180 | const char *buf, size_t size) |
181 | { | 181 | { |
182 | ssize_t ret; | 182 | ssize_t ret; |
@@ -233,7 +233,7 @@ static void lm3642_torch_brightness_set(struct led_classdev *cdev, | |||
233 | 233 | ||
234 | /* strobe pin config for lm3642*/ | 234 | /* strobe pin config for lm3642*/ |
235 | static ssize_t lm3642_strobe_pin_store(struct device *dev, | 235 | static ssize_t lm3642_strobe_pin_store(struct device *dev, |
236 | struct device_attribute *devAttr, | 236 | struct device_attribute *attr, |
237 | const char *buf, size_t size) | 237 | const char *buf, size_t size) |
238 | { | 238 | { |
239 | ssize_t ret; | 239 | ssize_t ret; |