From patchwork Tue Dec 12 21:50:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121655 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4672211qgn; Tue, 12 Dec 2017 13:52:11 -0800 (PST) X-Google-Smtp-Source: ACJfBos3xiu/WFEgP0muPuyr29/F+uaKZ7SWDReXryam/GJwjWmBxgHyEFZxA91YLST6tYIV+wDI X-Received: by 10.98.51.6 with SMTP id z6mr3732713pfz.34.1513115531810; Tue, 12 Dec 2017 13:52:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513115531; cv=none; d=google.com; s=arc-20160816; b=XNU+Ml3PIwdGcQWqV0+9MmhJ9ueZNOdUfIrKLCoEPqipt0pBwKhXQ4MtRsw+0qyNbw lumBW1vx7eA7NZFeVR955/YVWGgkNBlt+mFyTYSx9HFqt7i+YBgGY/q6jz30a7TqaG+L 3e1sKeAj3Bus596KDFp1pV4dtp87calC/VuZj09WDp/RyE0J9JawLP8cJwUiEZe1JbnM 20vaq+s4P7q5eUFzIzR7bob8jPbb5bAUVYq1IkqdYNn0Q4+yBFRSg9XemQeOtGob7ycC 62C74G6dzqZ0Tf2rH4Y5hW61a3jCiIF8jcpC63EvcBOwSRdq6daZMfyQAIrrkDke1443 xgqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=PdZJrvWk/2nTtgeJjkbE3XlhlN0G9+WwI9jz/k9VHT0=; b=EkCXB0VdCWEa2qkf+OS+pLtzhHcp1wmE6R/xgvIxykpdbqLS/VWV9AVymR/FonN0QG +Iis9H6Fmc9jWkunIfQB6hK5RlcjJuXpNj6K8l8HjPpLS4WKpA6kzRVmPaGOi/pqWtsl VvFjIK+NQxZwRhsWK3/GlSh8fvt2zZc5LEAIETyE0Sp5nPqyLGLJMiPkbeDXwjw+XnPR InoVPSdrHCQcu4DAMpGazewmAbqmMlaMFWuweVDbC9W/ZWipQ263FLMQr7ppgvJJyUtU cNN7hOuGc2xCkkfyukGoZlR4S2buMigaso5D3avhyPzrwUZZbD1ZSzNwdy71AFj3kd2z 3W+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JtuNkUuk; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si97907pgp.512.2017.12.12.13.52.11 for ; Tue, 12 Dec 2017 13:52:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JtuNkUuk; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752598AbdLLVwL (ORCPT ); Tue, 12 Dec 2017 16:52:11 -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 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBCLoK2N011735; Tue, 12 Dec 2017 15:50:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513115420; bh=MLkESb0QUq1myZW0AAD9kIsmQcwbIZ7iB4lbQ3eyd5Y=; h=From:To:CC:Subject:Date; b=JtuNkUukMdHyFyxS6j0a1Jrc5q8TZgqp5zDFgwIFR7xBDVKyH29ehJ9fEIc3Zov6F EbZ4qOUb/BfHU686Z7avPRwGfexD3kg13nJz/OvaeYfawbWwhWNe4M9HPZKUxpw1Q7 9Ue2mm4SflZpN2sLQNCQXmponuCJjK3iiy73HrSY= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCLoFDl022292; Tue, 12 Dec 2017 15:50:15 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 12 Dec 2017 15:50:14 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 12 Dec 2017 15:50:14 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCLoEx9032045; Tue, 12 Dec 2017 15:50:14 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.69.253]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBCLoEx10094; Tue, 12 Dec 2017 15:50:14 -0600 (CST) 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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org 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(-) -- 2.15.0.124.g7668cbc60 Acked-by: Pavel Machek 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; }