diff mbox series

[v2,1/2] leds: as3645a: Fix quoted string split warning

Message ID 20171214173727.10070-1-dmurphy@ti.com
State New
Headers show
Series [v2,1/2] leds: as3645a: Fix quoted string split warning | expand

Commit Message

Dan Murphy Dec. 14, 2017, 5:37 p.m. UTC
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 <laurent.pinchart@ideasonboard.com>

Signed-off-by: Dan Murphy <dmurphy@ti.com>

---

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(-)

-- 
2.15.0.124.g7668cbc60

Comments

Sakari Ailus Dec. 14, 2017, 6:04 p.m. UTC | #1
On Thu, Dec 14, 2017 at 11:37:26AM -0600, Dan Murphy wrote:
> 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 <laurent.pinchart@ideasonboard.com>

> Signed-off-by: Dan Murphy <dmurphy@ti.com>


Thanks!

For both:

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>


-- 
Sakari Ailus
e-mail: sakari.ailus@iki.fi
diff mbox series

Patch

diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c
index 9a257f969300..49fdd7c0a6f6 100644
--- a/drivers/leds/leds-as3645a.c
+++ b/drivers/leds/leds-as3645a.c
@@ -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;
 	}