Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2342319ybj; Mon, 23 Sep 2019 02:04:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcT7hL4ah0SEzM25N/nKkpxDpUXphq4T+tm3mPCJ0+khDJytKfl25FuLcExtxuKPXf6NFE X-Received: by 2002:a17:906:c787:: with SMTP id cw7mr4967385ejb.34.1569229467022; Mon, 23 Sep 2019 02:04:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569229467; cv=none; d=google.com; s=arc-20160816; b=JcBFVf0w5z9U9Hvx0hWIvfmck/1KlcXw0tdvKGW0wVdn5SkTzuLCPyVl3oyUgv/8Py a031+NS77Vf5AyB5CQGiDNPCzsZevciZJph4sx6AuyhJqG/QpKSrdhyCNkKKNPBPNrGj OgYdCibszWaykL+904j3oSnjIcr1fIR8dy+fOxy7iUuZwwAQfRiM4HcfCRnxSWZ0O+GL jZtT+LakQ08cghalnYwZbzZdJntwq2+HsvjYXOeB51MB+sLUj+vl+psg5TzbrnFBk2Sh GYDyfGfLJFdRiH3Usr6YgmvtCc09XoSq3alvVpDQj5UgrqqL4w896yLRhS693VkvezCx WUjw== 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=P1D43pa++5DhM+tqEWS3Dq48jmh4SVX3raa8WL6b/XC94mA2Tpq/sgENIMP1Lbf9PB lDjLSAEpETpyxxBuBnNfARFsU/umVtvFMJ18odOZoDNTTqwbLjcO6sh6WL498Lf89FYJ XfqnCMKX2LBik1skDvyljzQfLP1QgGwPUvO46tmTqUy0JgjuFuNlB+uqcRleoC7Llx35 yyrTruj5LksK/GTQlYDt1yCEP13WcbCu91e4ST9cGh/gfSbyNVYlnDTZf2TsGAJG+80A 4C+69qhUxIG62/eEuj2E5DbzMr9EddeW3KMGwVULEoJ7eA95Thm+RHwEwkApfjaisxGn mPkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CM+D4oh9; 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 l23si6159097edr.187.2019.09.23.02.04.03; Mon, 23 Sep 2019 02:04:27 -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=CM+D4oh9; 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 S2393674AbfITRjD (ORCPT + 99 others); Fri, 20 Sep 2019 13:39:03 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47666 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392294AbfITRia (ORCPT ); Fri, 20 Sep 2019 13:38:30 -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 x8KHcRkn042379; Fri, 20 Sep 2019 12:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569001107; bh=vNLixCA7rV3r89geVpDyZT2afzJln66pkNhtKdigswM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CM+D4oh9e8YeV9WET3XKoe4RO8kXVnG0/FFu+mYcHbjQ/6Ew+1U2aT6WBIeye42W7 L65RiwRwiEMAwgtcKFH4nO1JKb5zBRVY5xK40EzgYcJGYkqBFL4XfdbNwTW56rpCoG 339vd4VsgUWi1fNKIR3l7fUbnfLnXddMFUUhV6rc= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x8KHcRwJ021389 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Sep 2019 12:38:27 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 20 Sep 2019 12:38:22 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE106.ent.ti.com (157.170.170.36) 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, 20 Sep 2019 12:38:27 -0500 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 x8KHcRs4060524; Fri, 20 Sep 2019 12:38:27 -0500 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v8 5/9] leds: Add multicolor ID to the color ID list Date: Fri, 20 Sep 2019 12:41:35 -0500 Message-ID: <20190920174139.30079-6-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190920174139.30079-1-dmurphy@ti.com> References: <20190920174139.30079-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: 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(+) 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); -- 2.22.0.214.g8dca754b1e