leds: as3645a: Fix quoted string split warning
PATCH v2 1/2 leds: as3645a: Fix quoted string split warning
Fix a warning for a split quoted string across
lines.
WARNING: quoted string split across lines
459: FILE: drivers/leds/leds-as3645a.c:459:
dev_err(dev, "AS3645A not detected " "(model %d rfu %d)\n", model, rfu);
---
v2 - Split the warning fixes into 2 patches and fixed commit message -
https://patchwork.kernel.org/patch/10108325/
drivers/leds/leds-as3645a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/leds/leds-as3645a.c +2 -2
@@ -455,8 +455,8 @@ static int as3645a_detect(struct as3645a *flash)/* Verify the chip model and version. */ if (model !=0x01 || rfu !=0x00 ) { -dev_err (dev,"AS3645A not detected " -"(model %d rfu %d)\n" , model, rfu); +dev_err (dev,"AS3645A not detected (model %d rfu %d)\n" , + model, rfu);return -ENODEV ; }
Signature · 1 line
2.15.0.124.g7668cbc60
PATCH v2 2/2 leds: as3645a: Fix line over 80 characters
Fix the warning for line over 80 characters.
WARNING: line over 80 characters
363: FILE: drivers/leds/leds-as3645a.c:363:
flash->flash_current = as3645a_current_to_reg(flash, true, brightness_ua);
---
v2 - Split the warning fixes into 2 patches and fixed commit message -
https://patchwork.kernel.org/patch/10108325/
drivers/leds/leds-as3645a.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/leds/leds-as3645a.c +2 -1
@@ -360,7 +360,8 @@ static int as3645a_set_flash_brightness(struct led_classdev_flash *fled, {struct as3645a *flash =fled_to_as3645a (fled); - flash->flash_current =as3645a_current_to_reg (flash, true, brightness_ua); + flash->flash_current =as3645a_current_to_reg (flash, true, + brightness_ua);return as3645a_set_current (flash); }
Signature · 6 lines
2.15.0.124.g7668cbc60 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Dan Murphy
Fix a warning for a split quoted string across
lines.WARNING: quoted string split across lines
459: FILE:drivers/leds/leds-as3645a.c:459:dev_err(dev, "AS3645A not detected " "(model %d rfu %d)\n", model, rfu);Acked-by Laurent Pinchart <[email protected]>Signed-off-by Dan Murphy <[email protected]>
Thanks!
For both:
Signature · 2 lines
Sakari Ailus e-mail: [email protected]
Hi Dan,
Thanks for the patch set.
Bot patches applied to the for-next branch.
Signature · 2 lines
Best regards, Jacek Anaszewski
Quoted 34 lines · Dan Murphy
Fix a warning for a split quoted string across
lines.WARNING: quoted string split across lines
459: FILE:drivers/leds/leds-as3645a.c:459:dev_err(dev, "AS3645A not detected " "(model %d rfu %d)\n", model, rfu);Acked-by Laurent Pinchart <[email protected]>Signed-off-by Dan Murphy <[email protected]>---
v2 - Split the warning fixes into 2 patches and fixed commit message -
https://patchwork.kernel.org/patch/10108325/drivers/leds/leds-as3645a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/leds/leds-as3645a.c +2
-2@@ -455,8 +455,8 @@ static int as3645a_detect(struct as3645a *flash)/* Verify the chip model and version. */ if (model !=0x01 || rfu !=0x00 ) { -dev_err (dev,"AS3645A not detected " -"(model %d rfu %d)\n" , model, rfu); +dev_err (dev,"AS3645A not detected (model %d rfu %d)\n" , + model, rfu);return -ENODEV ; }