Message ID | 20191028183629.11779-4-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp3417143ocf; Mon, 28 Oct 2019 11:37:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiQ9NzJzMM5vgeJA+R0DLs8XgY0gbtvMIqUhS1xO4iKyPw/k+Ekv0/yJeUVPX5Bs5Nx2jY X-Received: by 2002:a17:906:73d4:: with SMTP id n20mr18405547ejl.45.1572287859923; Mon, 28 Oct 2019 11:37:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572287859; cv=none; d=google.com; s=arc-20160816; b=jnLlQ1Xmj/uYTBnpzn7g9ducmbiMj7wMug17DNJOco1IHp5ZRUb5Mx0m9yd85m2lTR N8gwwsxkxC21og6DkuuaxFxa+xHH8dq1obUcuodjTSLK14+omiCayFYovwkesrDyp0p6 32zE7zZh7o5XbsepUSgmr3i+GwyMxB7ymltclL8KMa8vW+sRXrTkbNYsLvS/O4GX+MH0 6q+IsLcHkdBDdumATvCSI9lWHwPwzUvxXMaAsTvcPRUktPQDOjmQqGQRrophuz9nN2Dx yynFaEy3lwewhMYLdHdAwU0BIUJtLAfOltxD9G8Rwc739BKilzIdbzJ75uGMFMW3ApYE u7lg== 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=glXBKObYLNyWa9z7/h7gFl54Sy5lvnpirVm8XXY05UPo9WYn8apZ7vvxKdKhR2PN3x w1lX7d65nqdas2nXyedcR6VKgw6yIyXMU0TeijBbNKcstkmXOZ411t1V360uzvJ0Wg9s 5D54gADph93s7mcad0zJP1PBdjFvLHCVOAMM9sRkrAqZctWHtdPn4XIuEV7RK9Gq8AZ6 dQYfTjQVprQCUE6NDiIa61D4KjNwKGJKpk0HLjAmisp80gAbD3ArBV/S41+FpkJgBqyx LabFef4Hol/+bxem1oQL1bpwO7hOY0Y0BpSfuAam6TPE2CAe4UN1MEmw6NjQn16I+RjC U7mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MZC89trC; 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 j3si9234903edj.448.2019.10.28.11.37.39; Mon, 28 Oct 2019 11:37:39 -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=MZC89trC; 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 S1727092AbfJ1Shf (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Mon, 28 Oct 2019 14:37:35 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:43174 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbfJ1She (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 28 Oct 2019 14:37:34 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9SIbUYn065575; Mon, 28 Oct 2019 13:37:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572287850; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MZC89trCVPEVTxHgB/phuXnwYMm1+SsOPe+Cup9mBKHZKc4om2u2h0/A3YTLIxp6g RO+7IgtL+QcpN6iHxCGZArP43DmYSR/qcof8tusQA0OPbzfJ9XkW+faeRTtTHJFkOP olK/1h+y08sGTx8o+uUNhweJccGJ2PaAwRRwxO+c= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9SIbUDW077144 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 28 Oct 2019 13:37:30 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 28 Oct 2019 13:37:30 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) 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; Mon, 28 Oct 2019 13:37:30 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9SIbUCH046503; Mon, 28 Oct 2019 13:37:30 -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 v15 03/19] leds: Add multicolor ID to the color ID list Date: Mon, 28 Oct 2019 13:36:13 -0500 Message-ID: <20191028183629.11779-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191028183629.11779-1-dmurphy@ti.com> References: <20191028183629.11779-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
|
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