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>
This commit is contained in:
Родитель
0c0d9067ac
Коммит
85b4b756f1
|
@ -176,7 +176,7 @@ out:
|
||||||
|
|
||||||
/* torch pin config for lm3642*/
|
/* torch pin config for lm3642*/
|
||||||
static ssize_t lm3642_torch_pin_store(struct device *dev,
|
static ssize_t lm3642_torch_pin_store(struct device *dev,
|
||||||
struct device_attribute *devAttr,
|
struct device_attribute *attr,
|
||||||
const char *buf, size_t size)
|
const char *buf, size_t size)
|
||||||
{
|
{
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
|
@ -233,7 +233,7 @@ static void lm3642_torch_brightness_set(struct led_classdev *cdev,
|
||||||
|
|
||||||
/* strobe pin config for lm3642*/
|
/* strobe pin config for lm3642*/
|
||||||
static ssize_t lm3642_strobe_pin_store(struct device *dev,
|
static ssize_t lm3642_strobe_pin_store(struct device *dev,
|
||||||
struct device_attribute *devAttr,
|
struct device_attribute *attr,
|
||||||
const char *buf, size_t size)
|
const char *buf, size_t size)
|
||||||
{
|
{
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче