From 85b4b756f1dda11556ead50ea884b8f1040f8c66 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Mon, 21 Jan 2013 21:57:20 -0800 Subject: [PATCH] leds: lm3642: rename devAttr to avoid CamelCase Fixed the checkpatch warning as below: WARNING: Avoid CamelCase: Rename devAttr to attr. Signed-off-by: Jingoo Han Signed-off-by: Bryan Wu --- drivers/leds/leds-lm3642.c | 4 ++-- 1 file 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; -- 2.39.5