From patchwork Fri Oct 11 13:06:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 175931 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp729809ill; Fri, 11 Oct 2019 06:07:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7CzcsIgxLCXtCnN9vey2GuLGab/irL1GNNxOMB1jI/NPBlXT0eFhiFcj6jPuiZqHFMJi5 X-Received: by 2002:a50:935d:: with SMTP id n29mr13370224eda.167.1570799251749; Fri, 11 Oct 2019 06:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570799251; cv=none; d=google.com; s=arc-20160816; b=T8CMdV9jitAKPZPXv1YE0sO6nTk0Iz15zIFjHKLXhPt0ztTE/00o5ntKB7GnO9U4TN du2OoX+0P37b1NyCAQymOpPuDfq0QXCpBojQZFI8R1VITNMUOGP8TqPFbjLorXp1NjHW qGT7yrmakbu/xFFRdCqB1zYnWJnkGyFfB3sGURqm4jy/SqnIhaMM3V/Z9xr/jzKRtXag +pSAn5qtxUW2LO23mHdNjnbRT606quA1LOi8erYYoufpg6IQ8gGVJQ0wt1XTchNoYdT0 XDC9vo7MPbFNTy7xgbbmGGmNw3CS2EYTdf+H/z8zj10ZP3pKj/F9/3WCdtOVbUKeN2Si wMyw== 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=zr3AKnqvW/EbFrMNQ2mjgJEQSE+g7ZxNz2bB5u0h85U5c8o307SHAj8njOiGdFe4q4 9y9jnZ5sxpNduG5melbFufjTu9HVgWCRfjRDLZ1Y/9iAfTQRVAyElbeOXOsj0VuCKVAQ dhiak37eaxuWJZdZnxxXRKI32g+bqqvKd4sX2xLdZpRsbEpDY7dyDBZRoTUB8cXbBuOo 6XA1+gvF++El9ZxDWKh0+bvr7r1DX9dkgnEzyUZXVbtrYL9TzVWlMecrASrLXheeAcSl 1eRPtN9rLnT/5Bc1p9a7rODu+XZqFXW36Un1XIXwekSmrqDb9P+V67YhXHs6ENpNzUO0 UgNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mikexOv0; 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 l26si5564218edb.258.2019.10.11.06.07.31; Fri, 11 Oct 2019 06:07:31 -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=mikexOv0; 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 S1728341AbfJKNH2 (ORCPT + 21 others); Fri, 11 Oct 2019 09:07:28 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:36938 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728084AbfJKNHY (ORCPT ); Fri, 11 Oct 2019 09:07:24 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9BD7J7h078477; Fri, 11 Oct 2019 08:07:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570799239; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mikexOv0WX0Orkepio1BP6UMqJy9zVOnJgUmLie3JyiAWytgKkJL/XzA/b2GfuELF zQZj7pPkcs+uvedmowWyS6taMqXptyIfOdhijgItUfp/0RLwXSCE4yVJuvB5IakIXb bYL5P7oHcTJBvVo4ZPvnWVcOIxHc1auzxbSILRPE= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9BD7J60094092; Fri, 11 Oct 2019 08:07:19 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 11 Oct 2019 08:07:15 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) 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; Fri, 11 Oct 2019 08:07:15 -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 x9BD7Jfb105194; Fri, 11 Oct 2019 08:07:19 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v12 03/16] leds: Add multicolor ID to the color ID list Date: Fri, 11 Oct 2019 08:06:44 -0500 Message-ID: <20191011130657.4713-4-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20191011130657.4713-1-dmurphy@ti.com> References: <20191011130657.4713-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);