Message ID | 20191016155954.29044-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 q22csp7571598ill; Wed, 16 Oct 2019 09:00:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCM71dv7hW+a46KL9mxzYuFBFLSYdldEMOghBFdKRrSssdcycjE/arqebNwtGnNAWbaUCv X-Received: by 2002:a17:906:29db:: with SMTP id y27mr41087763eje.185.1571241634018; Wed, 16 Oct 2019 09:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571241634; cv=none; d=google.com; s=arc-20160816; b=l22pcdxXE4Uf4pDoiRB3xh+I39AbR9oINNDQxoNQ7B4PC8ns/upZPpF5LTHK1Kl2PS RnGjV0g6tZxKx+KIJ/qfMgjVlnAQ+M3CPPLgwNANiIgt4D84jrY7KEQuEPcC3Ea0C2bS RJST7+f9ystdycUUY5MlkeFM7C3i98ITm3uEYQ+DnEeHvJyKD41is824RlXY9gmrF1yJ BEaVdvqi8YJfO3Tzo5n7MyCgCvreiCnNQ9gZjmDGvHZy6FT7bDMEgntQfFEaubcUbIuM 7K+RLuIsNBkD+o1j/wnpWH0FaSCRPa4n1aAFmDz3PxdkbiTlaoPVn6kt/+OjMfkY678g tB+Q== 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=PTi6h2JxUFdCR/xXhs0/6MdI+FXXOYTH46iIir3soi1UE6IVFjpMZ2abhZX6GL1J48 vbVSJmkLH1Ybz/XOzZEB0PUbnHzi2Ii/P6hK3awWE7x3vwVRWdJC2Qi1Nn1eIK1oS/qV xFGGK0eXHkNRj3KNIiuzhcSgD4BtLqi1duQylHCD5zWKejSuxmUawN9uRTr0V8qCw7wU P8Rq3n4zxjSdAfHH57kA/LQUT1MgDNXf1D1CTozb0W5+cT0iy1ps7skBppCwFL8f+3xd Xok+0eZplvJhxvwPQjdHWOhVKGu1YEaIllvv+nMOwCeN0dFy0syLJhppWb3ew1qNygZY 0ssg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PSpRd0tq; 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: <linux-leds-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si14847049ejb.174.2019.10.16.09.00.33; Wed, 16 Oct 2019 09:00:33 -0700 (PDT) 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=PSpRd0tq; 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 S2393110AbfJPQAd (ORCPT <rfc822;baolin.wang@linaro.org> + 1 other); Wed, 16 Oct 2019 12:00:33 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:55590 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393088AbfJPQAd (ORCPT <rfc822; linux-leds@vger.kernel.org>); Wed, 16 Oct 2019 12:00:33 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9GG0TPm039190; Wed, 16 Oct 2019 11:00:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571241629; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PSpRd0tqdhf9/cOr/g2ZS4LVtbetYfZpURTN3ddnmEKPmnrsSsFoczQmXXxx0yxLy jBXngjMMxL2B710l0ygoBsh4wAF6RvW8aI0vuHScFq3cJgYkp7ihcAKnLGmGc4YWCi YfAbwHEBeqaF7w0xv91t+AEeNuLeKwGOViaNnMEc= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9GG0TfJ094765 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Oct 2019 11:00:29 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 16 Oct 2019 11:00:22 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE103.ent.ti.com (157.170.170.33) 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; Wed, 16 Oct 2019 11:00:22 -0500 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 x9GG0Tnj061705; Wed, 16 Oct 2019 11:00:29 -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 v13 03/18] leds: Add multicolor ID to the color ID list Date: Wed, 16 Oct 2019 10:59:39 -0500 Message-ID: <20191016155954.29044-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191016155954.29044-1-dmurphy@ti.com> References: <20191016155954.29044-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-leds-owner@vger.kernel.org Precedence: bulk List-ID: <linux-leds.vger.kernel.org> X-Mailing-List: linux-leds@vger.kernel.org |
Series |
None
|
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