Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752657AbdLLVwN (ORCPT ); Tue, 12 Dec 2017 16:52:13 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:55663 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752564AbdLLVwK (ORCPT ); Tue, 12 Dec 2017 16:52:10 -0500 From: Dan Murphy To: , , , , , , CC: , , , Dan Murphy Subject: [PATCH] leds: as3645a: Fix checkpatch warnings Date: Tue, 12 Dec 2017 15:50:11 -0600 Message-ID: <20171212215011.30066-1-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1136 Lines: 36 Fix two checkpatch warnings for 80 char length and for a quoted string across multiple line warnings. Signed-off-by: Dan Murphy --- drivers/leds/leds-as3645a.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c index 9a257f969300..f883616d9e60 100644 --- a/drivers/leds/leds-as3645a.c +++ b/drivers/leds/leds-as3645a.c @@ -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); } @@ -455,8 +456,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; } -- 2.15.0.124.g7668cbc60