Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3895418ybx; Mon, 4 Nov 2019 04:39:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwQONAYN0f5EUH3b5DI4rCz29aUgHrUjziDqBa5hfKEW2rMyms4Dq966nq6M6gskbwKUcj3 X-Received: by 2002:a50:f306:: with SMTP id p6mr29734719edm.284.1572871170073; Mon, 04 Nov 2019 04:39:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572871170; cv=none; d=google.com; s=arc-20160816; b=BO+b0XBdolEuLDijFPjbNQp2ZyEF/r5iI40cU6NzajXCtYba50ci6MFlj5lOph24+0 hiI9WU+ni+f79Z5d9BQUOFuKsLYua/BUFn2BzWMHSJFJ9U/f4P2lSuqch02O/xhqvL6L 2cOItClRsvv7ClpElMfoeA3K/Xeyn45XDsVCE6HXkdlQrpnJtyrdf4W57zYzNOBf88MU gD/sffsssOuvOOlvnemNkJ4ubg6q8sVMtqL9OvEuq3Z64+4MMVWQBO2QzipOz6ySvUi+ 54N4bbVWE9gqKgIOAosV+o5/wO/sWjXFvKnGgzzuTKrCQyIctuS+CpRD0sci7Y1hhqFW iZ+A== 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=AhyHlx7wtFLlLNzkjOUftPnc3gkcaFy1KnQLsus9Co/PMh7u6mswMsHXN34nkWQoEl OCrVjeRE1vY6oPbaeFAjbJXNlCCXyRcXFOyVYO6q826FiqXlVQ6bUKV1gpJEpRq9ME+I siZ/RwZMkxTFHla9e21E7pFk/UOqxuQD/9kGyOMPwvjI9FVMDkXwaU4wecX26Rx6/hvR mtX4eHUS4SkH7R6jO403KgahyeR8l7McF6JInxnXQim6P9eC5Cda9qgDJZlfS/wsOPDW nhUKkPxJO4DD6muzrY5s9WOJ2XU+EdC0xO2ktIx2dXxvtZ4kVD3R3tyeErMQz7FMVMxR ryGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SctxLmTZ; 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 g6si7341529eda.377.2019.11.04.04.39.06; Mon, 04 Nov 2019 04:39:30 -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=SctxLmTZ; 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 S1728934AbfKDMiY (ORCPT + 99 others); Mon, 4 Nov 2019 07:38:24 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:51094 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728872AbfKDMiY (ORCPT ); Mon, 4 Nov 2019 07:38:24 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xA4CcKSs014768; Mon, 4 Nov 2019 06:38:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1572871100; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=SctxLmTZ1NGg2/zvCgxXI+oTn0o+u/f25VwQG+bKLWkAHHgRfPcB4jvpiK0bN5D3M 6xXMtrFkHQnqWunxG5S2Sb+3snRKZ0BxKrGtNUD1fmMrMnCAb6toZjs+fDGmc7clYc Aa8pPB7awEPWCR7ej17p8iL0iWc3hSgRgh7ZeBQY= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xA4CcKgi129196 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Nov 2019 06:38:20 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 4 Nov 2019 06:38:20 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) 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 via Frontend Transport; Mon, 4 Nov 2019 06:38:06 -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 xA4CcKH1054074; Mon, 4 Nov 2019 06:38:20 -0600 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v16 03/19] leds: Add multicolor ID to the color ID list Date: Mon, 4 Nov 2019 06:36:51 -0600 Message-ID: <20191104123707.31930-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191104123707.31930-1-dmurphy@ti.com> References: <20191104123707.31930-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