Skip to content

Commit

Permalink
leds: lm355x: rename devAttr to avoid CamelCase
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Bryan Wu committed Feb 2, 2013
1 parent 4d79833 commit 0c0d906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/leds-lm355x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c0d906

Please sign in to comment.