Message ID | 20191104123707.31930-4-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1426358ilf; Mon, 4 Nov 2019 04:38:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwB2juDc+hNx2HEv4aVYAEhsY3lAmGuf+8vgJXte3ICLqmtvfPTjKZ1s04iDUrikGuMxvGa X-Received: by 2002:a05:6402:1a39:: with SMTP id be25mr28938194edb.78.1572871105407; Mon, 04 Nov 2019 04:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572871105; cv=none; d=google.com; s=arc-20160816; b=E6K/XuCqwf8l2059HeMP7i9Io07nBGBGPuQKmkf06TrL4pFmlJFsEJd5JkuW4pXxRZ dXR2CImjTahTDxfwVQldItNIRofomJku/qqhHDlWIrOC5wau8ASUp935Db8M8KY6Po1O 08rIhvGAjpA9A6U7b9ubK1ey59RY7IKP6GhOutkR24r/FpHcsmO2ceQlNgzTJhnMTR9l hajLeOffagLdmBwzZLWwnQ7HZrrFnUiMwV/EBTY8BFkE8fumiRtknEHaSaICJCEtObfw ZNK7H7Ar6Xom3d3ghNxb/3gAiOdnw0poT/XxjAyNpkvXUHqvQwwvzvM3StGuFOCsxcMw 6WlA== 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=Eg5DMEExcDXbxUd83zNBFmRV0RswEsm0/JlV2vkNh1jJuiwUn6vdun6a7y8hBa85sk ofLvPzyAXjPnAHZyI4rEKmuTHuEwnJkBlBHHR4yjCB1NFgxWNVdKjNofM/gZy+Xhf9Qt b9XC+IqQpf0TC520cp8ONdLtGdUHZWLaC7hVyhdJaGk/EvMdyP2VvmULKSp7cORPaBmc Z8F9yZJuigGfjTtNlMV76sUczfG+7olyvrJNF3q2R94MsHumUm9Oiq/FdreTgQ4Ulg2f 4h9R8Ttsc2RrLqDawsyNbVeD3buCfAA8ZbYzoVV8tjgWqYA5rYjjqkeJsJcuVBhb2VgJ BsJw== 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-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 m26si10776198ejb.324.2019.11.04.04.38.25; Mon, 04 Nov 2019 04:38:25 -0800 (PST) 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=SctxLmTZ; 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 S1727267AbfKDMiY (ORCPT <rfc822;baolin.wang@linaro.org> + 1 other); 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 <rfc822; linux-leds@vger.kernel.org>); 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 <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 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-leds-owner@vger.kernel.org Precedence: bulk List-ID: <linux-leds.vger.kernel.org> X-Mailing-List: linux-leds@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