Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3563382ybg; Mon, 28 Oct 2019 15:02:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVbqzKd3fO+eA5laXC32KYAAV4MKPbJfmntHB1rmPQDxGOxNwp1mL7pkbOSKBqCxnXz7ii X-Received: by 2002:a17:906:6094:: with SMTP id t20mr92261ejj.316.1572300156691; Mon, 28 Oct 2019 15:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572300156; cv=none; d=google.com; s=arc-20160816; b=UZULKIJuqidT1nUcPYJM//CmdxJdbUCbD374RBqdGEkcb0bBkZ4FqYMyg5V1cUTe4U oCY/2dqdGnyd5yyRqwjzS9CnVGkJ+kF90LSPGe0Jc7H9o8s1SWU2E8LNddZ7RQRn0hsK JFDWTGyGDNvFr5dNnClA+KYxvd2kUTbv95UKYO2N1oazsitCnhDGKgIL5UoZxvqJDaLO VocJERC7+AH/p4WENm2KnIX+fP/Z+tH0QcBfZxJ+3M9pwWDv772Ct4RJv9uuskuyTlcO Z4jMIGbki1lf+XVJ4Q116oAf0SsB6ZRtfts/BnPdyiJ9JCCSkAzKXedqhALeF8Uj7vjB wCaQ== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g19si8402998edb.280.2019.10.28.15.02.12; Mon, 28 Oct 2019 15:02:36 -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 S1727074AbfJ1Shf (ORCPT + 99 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 ); 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 To: , CC: , , Dan Murphy 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: 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(+) 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); -- 2.22.0.214.g8dca754b1e