summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-01-21 21:57:20 -0800
committerBryan Wu <cooloney@gmail.com>2013-02-01 17:47:06 -0800
commit85b4b756f1dda11556ead50ea884b8f1040f8c66 (patch)
tree879fd96e0d8c76183a19ab2d7048cb77cf122ad7 /drivers/leds
parent0c0d9067ac6ff1326f24ad6e711fe88893785ca9 (diff)
downloadblackbird-obmc-linux-85b4b756f1dda11556ead50ea884b8f1040f8c66.tar.gz
blackbird-obmc-linux-85b4b756f1dda11556ead50ea884b8f1040f8c66.zip
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.c4
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;
OpenPOWER on IntegriCloud