From patchwork Thu Dec 14 17:37:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 122006 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp7107018qgn; Thu, 14 Dec 2017 09:38:13 -0800 (PST) X-Google-Smtp-Source: ACJfBovEv7+1igvB2SY/EwiGNo5hMutgJ2ycidI/hkAAxyqB1GNXGYy4uV12hLGGABUcuHi76yOt X-Received: by 10.99.154.17 with SMTP id o17mr9444871pge.238.1513273093511; Thu, 14 Dec 2017 09:38:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513273093; cv=none; d=google.com; s=arc-20160816; b=ojtN3mX0t/6FneN2P9MY6ljH48oYxDYSSUBj30utE/c02fhsEGECWqL54Bxn077bDf Rr9Hieb2LRxyobKEMFvNMiKFvE/LkHFwweBnk6z+3UhexrRwW9DHnUeYu8ULpmqg0IKn vV60Z1d4sZ+XqEYwfEYhrquxaFuXRJcXTyq5Ss/pWHdvdE7Oh/cdQ78BvtymToLnhkk6 Am/86X5sKKj7QQ8JOGSj+RePaplKoKrrjSAO+PseAbd0ukuxjz4I5PT3F6wTwgnpzrbs p9aEOAW/lLztR+X3k21Bin0rfDpB4bhiISDJ6GrEBdCjpuj6pkR5s/Zh5qJXsxj9YJ/B 5Dew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=GpPGM/dkwcj8aT0va9Hm5RTYr4nntpQ4jH4cMfDnkT8=; b=AlqhNhr1BhH3nav9bq/70o7OaZZ0zjoE9ml/+xpW+sNXUjm5YmuVffvv5tN3qDOZ2b t+LF58MvY4VwwhSF0dxGVRrORVvQA4B+DNgpoZ1xHAgXe6UbtbZTDrd6coeboJZUFmTJ yM5m2zT/ECVc3y/NOzgnoJh9mPRpJTRr22osIctDhfVXeK5+MwNvhitbbMNm0ZtyM+iD pdX5u98u0LESGXbWjrU/nhzAgDme8BPKqJSrHyHYHLx9hHh73HisFmqVmUBkPi4uU1D8 JJMKjBkEbAotGFd0ICKVajvLfz5vaF81ACSpHeBnBPDtTPJqtcRKsf0DBbqFOrwRJ0pZ Mt8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=H8GzR9xg; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 g8si3167434pgc.445.2017.12.14.09.38.13; Thu, 14 Dec 2017 09:38:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=H8GzR9xg; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754010AbdLNRiK (ORCPT + 6 others); Thu, 14 Dec 2017 12:38:10 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:41018 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753579AbdLNRiG (ORCPT ); Thu, 14 Dec 2017 12:38:06 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBEHbXUE022052; Thu, 14 Dec 2017 11:37:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513273053; bh=7kSLED5gC9s0aHWI4skXfH8d128i8vw8z5EvJ0OwSQI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=H8GzR9xgu3lqnK+kyGOVtPmBKjMtVZmJdYqsDXmN/L1Uc6fEDBB3XKifhNFR+RWP+ xtObrblqDNXnR6Re5QEJSX6ujcBiZgaZXSXLJOPmM/Rxnuzh6gQcrIQFFxXtMgaXMh ejH/JhAyYQvejBpyk98FM5fW03AOa+O98WVNSW0s= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBEHbXe5003222; Thu, 14 Dec 2017 11:37:33 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 14 Dec 2017 11:37:33 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 14 Dec 2017 11:37:33 -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 vBEHbXN8021870; Thu, 14 Dec 2017 11:37:33 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.64.80]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBEHbWx21604; Thu, 14 Dec 2017 11:37:32 -0600 (CST) From: Dan Murphy To: , , , , , , CC: , , , Dan Murphy Subject: [PATCH v2 2/2] leds: as3645a: Fix line over 80 characters Date: Thu, 14 Dec 2017 11:37:27 -0600 Message-ID: <20171214173727.10070-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171214173727.10070-1-dmurphy@ti.com> References: <20171214173727.10070-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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); Acked-by: Laurent Pinchart Signed-off-by: Dan Murphy --- 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(-) -- 2.15.0.124.g7668cbc60 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c index 49fdd7c0a6f6..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); }