Message ID | 20191008204800.19870-4-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6206908ill; Tue, 8 Oct 2019 13:49:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWNQhPPmEtblZQmJSmLhTBaRB35bl7toJKhyY86OEzEfNfcNuU4bn2kMan8734Hk9ZFeNx X-Received: by 2002:a17:906:5284:: with SMTP id c4mr30565455ejm.39.1570567743459; Tue, 08 Oct 2019 13:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570567743; cv=none; d=google.com; s=arc-20160816; b=ipADKenX8A9mHonfPTp6u/NJYIWtJCepdoPZGjk22ocounKCwwhBPLFrp+ZpRD2RrY NwkEEzhXXC6JSGXWl3glOSiHNKYQpDxEmFAwuOPTi+Mf2BcgL1m38U9nVX2jVaAIyuy9 tKXdC3hMzU4vLjq1r3uhM9YSZ5jblb+3O9/gaeUtJfG8Wy9Et8cnq9nah3YiJWOZ9U+A g6oMhIcS2tAowuqRbu/PjChYsZ1+3Auu8W1Tmgr9zNPmzRdqx/7+opRw4zCll+XXPMiX wiRFz7mTMYjeszj0SToz83APX2Hp3sypI+7W2YhOWCxJ81/4OyMjZC3jnijNvW0yR7nh pa9A== 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=ZnaWElvt9oiy/hlBJeGHgBPqiAYo5AspbaEZ9qz8mxEoXd/Wq0dDfyCr0Q46G95HJ0 5HLcg9aTq0oc+6wo0+ksq5V/dtyoppFDOHL3cp+dtZO6LunT5YhT9+ykPZIrkEb4nSVx bjB8rUYoFbgyPFKG4f/tT16yMsVpvhHFwm4igP5rk3EcvsrKIgYT1RnisyZpvH1tZVgg ScSg0ZKEqoY1Z2uyNatwv4yNG8O32ZT3Q8DUzsm3kK/TdfQR/i5xcQLnSdrBXzxW63MM jpkl2mokpA1ZhLuAExqsYKrvJrDorunLe+uGjLjMJOKMqT2TO4xJopNsC/oy/aOjOmd9 IE7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KoqvbU74; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si115726edq.84.2019.10.08.13.49.03; Tue, 08 Oct 2019 13:49:03 -0700 (PDT) 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=KoqvbU74; 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 S1731130AbfJHUsY (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Tue, 8 Oct 2019 16:48:24 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:43358 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730523AbfJHUsX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 8 Oct 2019 16:48:23 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x98KmJiS092464; Tue, 8 Oct 2019 15:48:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570567699; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KoqvbU74mQS03AcnvVZ5yhl99GzIf9GV6zh5XkZZ9RBE9eHHfYBBPTl9MUzX6zrue Kvmxoc1g5LdKbI0LFU6BZg3Gjax7j1Mxd5AKkjPSQGU1VuvTOBpYlLk42ECFUJJWkI 4C1WNd7g+OaBgJWDTWCBsP7jwT6NeE31hMpgEicE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x98KmJXe027693 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Oct 2019 15:48:19 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 8 Oct 2019 15:48:16 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 8 Oct 2019 15:48:16 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x98KmJqh073096; Tue, 8 Oct 2019 15:48:19 -0500 From: Dan Murphy <dmurphy@ti.com> To: <jacek.anaszewski@gmail.com>, <pavel@ucw.cz> CC: <linux-leds@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Dan Murphy <dmurphy@ti.com> Subject: [PATCH v11 03/16] leds: Add multicolor ID to the color ID list Date: Tue, 8 Oct 2019 15:47:47 -0500 Message-ID: <20191008204800.19870-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191008204800.19870-1-dmurphy@ti.com> References: <20191008204800.19870-1-dmurphy@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
Multicolor Framework v11
|
expand
|
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);
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 <dmurphy@ti.com> --- drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) -- 2.22.0.214.g8dca754b1e