From patchwork Wed Sep 25 17:46:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 174387 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp944221ill; Wed, 25 Sep 2019 10:41:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2a1Fx2MZ0HXdKQxU8Jy6ygjevIFSK+UNHduxbQ9WWS+Z6W6y5KSopMd3SjJoHREt1Q6wd X-Received: by 2002:a17:907:20f1:: with SMTP id rh17mr420254ejb.110.1569433289291; Wed, 25 Sep 2019 10:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569433289; cv=none; d=google.com; s=arc-20160816; b=MJkjZ0aBdS7wjha/2K/9qN4KvLbQ10chgT82q9k+GpgMXPGnNMCeQmMcBbpEJkbj3v MVFKlSLdysePY5jrhgsKC15A8VzQwNo/mSx8VFyYv+qRYgdYOnMu4JJPNWWDwQ5B/qxz 36WMoiRYVswg22JC2g/6piqi5ceB7lTeP4qxYlVY1zuAhKiffWBjpqmYFu7nIP2cNPYr m5HGVoXZrX+9adVplddyw8MmOPwicKkKgHOp/O4BXp2RHU+L/hgcZRz4IGlCQ4qKzI0/ QmmPTwXDBbAgBC0bZ2wbAhiEg2+mu20SuhsgQhfvwqFgAnay3/eurInVNjw/el1Fz5+o ak/Q== 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=wMyzbwDNu1/BO1BizvOBNzbjWjj2sNBRnUFqoULZCeuNp4EtgsN3WO/R9+neyrPV5J 0KXsl4Opo2kQ/ioNOP2V6i9Jgi1vGpjI5be6pn3rQHHl6qNwHrDJY18z8ltkbcnLmwpm 1z/zsprFb1GXCbq9SCz3zTdesjvyCMopQK0WRr0BYko9BHMJ6uAqvD8EF4ZNYw7RNFVA 5sevQPCBVuVj+6F2ssfC6klqxN91kOaDXzp7tmpfiPs3eeQJG3DcZnYf/5q/0J7ootO8 JBrAuGzxi+OOijJC6JsamjDHILRA4NXIBU4wX1UBGRFToYSo0uChfJBrZguHbQwysxd/ 4Grw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aqmrx4Rf; 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 d1si3572241edr.446.2019.09.25.10.41.29; Wed, 25 Sep 2019 10:41:29 -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=aqmrx4Rf; 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 S2443084AbfIYRlZ (ORCPT + 26 others); Wed, 25 Sep 2019 13:41:25 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:36226 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443058AbfIYRlV (ORCPT ); Wed, 25 Sep 2019 13:41:21 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfFfo037344; Wed, 25 Sep 2019 12:41:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569433275; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=aqmrx4RfqJbdfsqaMuxR1H2DBQ/kCkiaTv5RLio6Yz/ncb26K2mAJe3uUJzGW7J5n 2I7aVOoF6dTZOTsDL/+fg3xox9UzCSDd22oVUkkV3eFbXL0Oash8p5bp4fmMBVn/Di 7wAPLhyQL//qBpXPAp85TUYd7kgOcsxs8mXN1wvQ= 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 x8PHfFK3048317 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 25 Sep 2019 12:41:15 -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; Wed, 25 Sep 2019 12:41:08 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Wed, 25 Sep 2019 12:41:15 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8PHfFYW031164; Wed, 25 Sep 2019 12:41:15 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v9 04/15] leds: Add multicolor ID to the color ID list Date: Wed, 25 Sep 2019 12:46:05 -0500 Message-ID: <20190925174616.3714-5-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190925174616.3714-1-dmurphy@ti.com> References: <20190925174616.3714-1-dmurphy@ti.com> MIME-Version: 1.0 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(+) -- 2.22.0.214.g8dca754b1e 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);