Message ID | 20190919183657.1339-6-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 q22csp1376725ill; Thu, 19 Sep 2019 11:34:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzLfO/4nAaouO1ZDwpQ7O2T0TxXM3n/njMwHoepWGVWWU99CJUhNILmLru7th+xzEn1Pxh X-Received: by 2002:aa7:df16:: with SMTP id c22mr8623633edy.22.1568918062437; Thu, 19 Sep 2019 11:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568918062; cv=none; d=google.com; s=arc-20160816; b=vMAhTSIC3h8ZV7mtiNe6c5L2vPx8Xm9w4foSvMBvPeJBOeHZQXm40KSRnjb5qdZYIP 7t9R0OSSzQmDH0om2U6Jk7q68R77wNFyMENi2UCvFpPCvQQOxq/8YvW9RqgnLWckqpNl hNUBEyByYcm4cRRwhcqp5Xlj1H+suGKldfzXhhfnt+Prz4Z4+qBagKuwzr0xkYFb30Au Gs8WrBi8fpsXFrlVEjUqnLaW6GGukoHahiIds6qeUWGbIHO9XB3Yof3ECqroLYUyseOh zixWa8Pjz77hh9R0KTYD4HLrsnDuxriu5J8Ib4tQys0syrG3midWp0AdFEpzA8/B5w5w Ss1A== 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=E1LsGASt9Uj9WZI+iW6BByJt4/dV5gTOoczw1ZMMEVT+sWz9huucmrFBvWDig/GEFk 4rV8jx/nXF019Ff3d3/hw6jrE2wtWgSS/7OrhWYYZ2aMCQGx12tfDioAaMZnbCvzpU4B XAOTiGNxdV5IQTGtfY2T6jdg/fGbDbA4Zqa9VPmHQna6G5KJPzkAwJ53hAV80AutS9wR IU2JRCtKAuTeKNvvO0e/lQzP/1lXKz4js/FF6vCECKhdj/80xzTmueSqlx85xrMm1bJQ SI03C8wq6vwJL4Z61Y/QdExEI07SN+1KS+Nma+M4ZWRnkulf6c8luwUNzVmWvTgBpe50 QCNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="i4y/DPvI"; 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 h43si5889356ede.142.2019.09.19.11.34.22; Thu, 19 Sep 2019 11:34:22 -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="i4y/DPvI"; 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 S2392107AbfISSeN (ORCPT <rfc822;mike.holmes@linaro.org> + 26 others); Thu, 19 Sep 2019 14:34:13 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:41360 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732841AbfISSeL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 19 Sep 2019 14:34:11 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8JIY7JG043176; Thu, 19 Sep 2019 13:34:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568918047; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=i4y/DPvIbqk+XIv8iCVh/pb0fKpjU53wETIpEkTy9P/djjdpTQbN53QkeZ3Gxud6D V5nS/bd3kt7Q2ZvWN1Jzau+j3MmlkpesDo61qZEy2+ufkKCR8xsYoZk9HzsjYbsJWi aycD5Rfc3RqB0hpKpHOGssSUxyG66P7DZz9u3xeE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8JIY776100304; Thu, 19 Sep 2019 13:34:07 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 19 Sep 2019 13:34:03 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) 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; Thu, 19 Sep 2019 13:34:03 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8JIY7kO095550; Thu, 19 Sep 2019 13:34:07 -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 v7 5/9] leds: Add multicolor ID to the color ID list Date: Thu, 19 Sep 2019 13:36:53 -0500 Message-ID: <20190919183657.1339-6-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190919183657.1339-1-dmurphy@ti.com> References: <20190919183657.1339-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 updates
|
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