From patchwork Thu Nov 14 13:30:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 179412 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp11063672ilf; Thu, 14 Nov 2019 05:31:49 -0800 (PST) X-Google-Smtp-Source: APXvYqyUSuqiW8pDnRPL+U0uQjJNljnwJ2BtvZpHpCbmFzIb1si90pGezXgatwtfnGdr4RWgnKxe X-Received: by 2002:aa7:c1d4:: with SMTP id d20mr1208979edp.273.1573738309203; Thu, 14 Nov 2019 05:31:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573738309; cv=none; d=google.com; s=arc-20160816; b=J5wr8ERD3r6WMDMUK3OWvSFid56msMj05QYs4AiZ63LSCBfAchqUaIGwh6JCWA1uoK oXHr2hnBmzdxSOraepHGFF2Lqow79ZmrJIsm7ycvXNIHk1IyrwlZL8krniAQKU1tuVU2 RuSGyn+rdHSEbB6+dV0g24bw1WO4de+FUTcIHJZhDZuS0Ks9a5yDsypVtUw5eoWPdVRU dI1Gqhdrw7z863cizhj1JCj56kB+aCsjxRXpYQ6fpJPjApXs/jne5961rICAYxNDitid hkVKfM/iBbZKGE4j4yVTt9wYNHJjX3DZvus7q0gDXng569+RXD5UDMdAxwEY+lUhcJLf br0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; b=qg21KS+7z0Hs9WCPyCHUeBn2XVeXgmP1ymx1bJuT7t7Z+5R6/LDUnFvUWEAE8cfQ7g iX3gQqo+7QALHC19W10yynmgSBFWZgQ32h1O3UqKGZ/2RpPVDMXzD4UemexDTbWIACbu SL7Hztu1AkzoYz2dqR/JMGR2PQaCJmhWXcNMpfQ7pnT3mr0hq4xMJXpNG39+C33qCiLA HXu5qiEjsCNh7c+XDIdJxrluFEukwcrKaZaFpHVy5C3Y6YO4zd16UxgGU/fifevZVlvu Ry9VB9rFB/Yp4+XaSuF2LpSsO9jBszrMa5dbv4NGFPXKS0BF4sdk5wLVzekyPuCikCXC jS1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="J8NHe/Gd"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 z37si3918696edz.281.2019.11.14.05.31.49; Thu, 14 Nov 2019 05:31:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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="J8NHe/Gd"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727176AbfKNNbr (ORCPT + 26 others); Thu, 14 Nov 2019 08:31:47 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:48876 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbfKNNbp (ORCPT ); Thu, 14 Nov 2019 08:31:45 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAEDVfeJ067280; Thu, 14 Nov 2019 07:31:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573738301; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=J8NHe/GderBJpX75pRrbmtNIf/q7g55FnGLwv4QC91iLdnC8E459NvQO4JS6IH6hj 7ITiFgR4TBPnB6im7tVDyKhcprYsOf+F3MiPJdsOrtjed8jTw3FkwD712p/Na3nJs+ A7MbsK04euwXWx2ZdLJOW9NryIc+3Pm9FWEuWJLA= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAEDVfD9019490 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 07:31:41 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 14 Nov 2019 07:31:41 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 14 Nov 2019 07:31:41 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEDVfJr079550; Thu, 14 Nov 2019 07:31:41 -0600 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v17 03/19] leds: Add multicolor ID to the color ID list Date: Thu, 14 Nov 2019 07:30:07 -0600 Message-ID: <20191114133023.32185-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191114133023.32185-1-dmurphy@ti.com> References: <20191114133023.32185-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a new color ID that is declared as MULTICOLOR as with the multicolor framework declaring a definitive color is not accurate as the node can contain multiple colors. Signed-off-by: Dan Murphy --- drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) -- 2.22.0.214.g8dca754b1e diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c index f1f718dbe0f8..846248a0693d 100644 --- a/drivers/leds/led-core.c +++ b/drivers/leds/led-core.c @@ -34,6 +34,7 @@ const char * const led_colors[LED_COLOR_ID_MAX] = { [LED_COLOR_ID_VIOLET] = "violet", [LED_COLOR_ID_YELLOW] = "yellow", [LED_COLOR_ID_IR] = "ir", + [LED_COLOR_ID_MULTI] = "multicolor", }; EXPORT_SYMBOL_GPL(led_colors);