diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-01-22 09:57:20 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-02 05:47:06 +0400 |
commit | 85b4b756f1dda11556ead50ea884b8f1040f8c66 (patch) | |
tree | 879fd96e0d8c76183a19ab2d7048cb77cf122ad7 /drivers/leds/leds-lm3642.c | |
parent | 0c0d9067ac6ff1326f24ad6e711fe88893785ca9 (diff) | |
download | linux-85b4b756f1dda11556ead50ea884b8f1040f8c66.tar.xz |
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/leds-lm3642.c')
-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: /* torch pin config for lm3642*/ static ssize_t lm3642_torch_pin_store(struct device *dev, - struct device_attribute *devAttr, + struct device_attribute *attr, const char *buf, size_t size) { ssize_t ret; @@ -233,7 +233,7 @@ static void lm3642_torch_brightness_set(struct led_classdev *cdev, /* strobe pin config for lm3642*/ static ssize_t lm3642_strobe_pin_store(struct device *dev, - struct device_attribute *devAttr, + struct device_attribute *attr, const char *buf, size_t size) { ssize_t ret; |