Message ID | 20190917175937.13872-5-dmurphy@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp5443390oce; Tue, 17 Sep 2019 10:57:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzViuRtmo67ZD0AtgtAz9/+TQXVOD/Uj7n8/BVqK7C7NMoP4SGmXh1s6yZrj8aOS9uPvpkB X-Received: by 2002:a17:906:5fc4:: with SMTP id k4mr5988660ejv.300.1568743067143; Tue, 17 Sep 2019 10:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568743067; cv=none; d=google.com; s=arc-20160816; b=qP/GG8OYTU0f2npaQbzyFUVeDUfHbUjWUhhsPNclXfJMq41gI4uzSi/RcPvD4IfM4O YWWHeiyZ+xdDNgePxUxnIwl2Gbr01a90rFfF/M+GYW2rVaZ8MB3DrFPuEvYOG4HbGShd bT7sfQECGRs/kFru21O+1y6o+zCRULh2EgouqiNwviNWCWcy6LNA3pYr6bsS/CN96AK+ 2VdDzkWFqY+K8vRyOkJuA5LTqUkiw1oGaI5Bs8By5daJA2QdUrE1LQQK3H4RLSLLZmOn 6J5MSRRG53Vg1XCLqoiV4/o0samAHPExy3vDIEX+zRPZMJfYkHWH9iWGImL2Nl1joiRZ h4Zg== 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=PjHnxYXeDSAL56bgRuOkblfWbxfr0vfSJPvVQ3tuW9M=; b=c3JTNK+bfwyQqOcklTfhVmTmMAR/TSJerFpEM7G6lmcBxr+CFquvSP6KPjIpATRdv5 VbNCrPOSUYys6kEYeT779c12xw3pq0dDZtVYMGwbbAqyIaA7BKjDsUwySxQHFTT/aTOh Gn9cGeVp9e6k6SbYevTfZNMF5GHht8U1ue0p2OUlJRSpkXmoyT1GriOScm4n2Xym1eCw geGxeijSXi1jrKyRYs9ZYLFsK/eg6EhkmtgmkcchruRnV/GsHQw9uSNT1bKHj8xkwCvZ 1VpVzZPWKG6MDYrloaIK8qYZYhkgQSKxRRG78ArcXx+7CY9/9+fc9pmzMQOLadU4XcdF 6OPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=txDSAF63; 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 q1si1470825eju.389.2019.09.17.10.57.46; Tue, 17 Sep 2019 10:57:47 -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=txDSAF63; 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 S1731439AbfIQR5q (ORCPT <rfc822;mike.holmes@linaro.org> + 27 others); Tue, 17 Sep 2019 13:57:46 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:36448 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731387AbfIQR5k (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 17 Sep 2019 13:57:40 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8HHvZsn075950; Tue, 17 Sep 2019 12:57:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568743055; bh=PjHnxYXeDSAL56bgRuOkblfWbxfr0vfSJPvVQ3tuW9M=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=txDSAF63m2s/pBMZZyPio7PjGG3xOx+HLeg+oCMoAOH7cJJ+KnZ7IlYy/RZ3fEha2 rqjc6yZyogxpANZc65JtnG46jLG18tSg2ziMpp2B+KCAXfodvLoI0zIzAwAexaFwJ3 E85IKyoilT1USKJOtdoFrPMSxpya1/NRTVjUY9YI= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8HHvZPc105710 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Sep 2019 12:57:35 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 17 Sep 2019 12:57:32 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) 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; Tue, 17 Sep 2019 12:57:34 -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 x8HHvYDF068338; Tue, 17 Sep 2019 12:57:34 -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 v6 5/9] leds: Add multicolor ID to the color ID list Date: Tue, 17 Sep 2019 12:59:33 -0500 Message-ID: <20190917175937.13872-5-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190917175937.13872-1-dmurphy@ti.com> References: <20190917175937.13872-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 |
[v6,1/9] leds: multicolor: Add sysfs interface definition
|
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> --- v6 - no change drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) -- 2.22.0.214.g8dca754b1e