Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2137424rwb; Thu, 19 Jan 2023 21:48:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXtu5FLb3h1Q8zAifj/am8RGNkSrK6YdT+hqR/ch5+OBJrwEWeQFieuLTcuxrtvkA973qlpO X-Received: by 2002:a05:6a20:3d0f:b0:b8:4812:70cb with SMTP id y15-20020a056a203d0f00b000b8481270cbmr18992988pzi.2.1674193737460; Thu, 19 Jan 2023 21:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674193737; cv=none; d=google.com; s=arc-20160816; b=oTlwv8FCjHNPp0iAqtz02roynOkRTjS/10FcmQcOSgMzYixPGHZeLyDtmhdLvW5cq6 q/P//vQEeJ5AcwWmmuboyV/+E7hOxxyOKMfdE/v+eYJkJS7e4Af54VxniBJvrKKkFLIH xuyvbk1DAhPkR6NVUQWpe761144To/s7rhNBM/zQyfKWzO524Qe32DaQaKGPCATWiz/2 4pCuwy9NC6fl31x0n33mhvD3Q2KW9jPA75m9madgHcBlLDYNMVit7Gb7VHdDtRWQM9Cs weOQws7U4uS/DLSkEc/+1WDc1lQWYuwMX1EFufa5Cn3zyhgZXJ4lJSqRAZIGnXlRC0Qv ZqyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QiBbT2ghGLY4HBE1uLspsb/Jbn8ApvjN6obsBtxg3xk=; b=fJ8bh9x1StU3o0n0nIboQKLfuVffG8sL9P4u8BW7KEf/gOzPXqgCty0hOVuuAV/7gT niejV3awpetr7ItdOi0nw45k/h1nWGWZiLfYw5lnf+tVRiCDyrqjPWHMY83INhsCg/MP Yz7ofVfX6ThzbqW/PF2satLX6BmMC0ZnswhBKgDvUidHWaXaxwUhSH/XJ1o/qS1tqBwV 1U19tJx1YSEk7nW2vTnEbnPGY8LejVXMRGhR1tNfI4EEWSe8AarlqCQjE5Z0IZgvdnJg h8LT9Lel3M2wcwUoZ0/JMZQk+28PHCv/91XzkaU+gO7rMsaKGqF465tc/dAmQrzdz1WJ U1wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MKzgIOCT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a056a001acf00b0058286279c89si11774152pfv.309.2023.01.19.21.48.50; Thu, 19 Jan 2023 21:48:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MKzgIOCT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231536AbjATF3d (ORCPT + 47 others); Fri, 20 Jan 2023 00:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbjATF2r (ORCPT ); Fri, 20 Jan 2023 00:28:47 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B5084B898; Thu, 19 Jan 2023 21:23:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 10604B82201; Thu, 19 Jan 2023 16:24:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F5BDC433F1; Thu, 19 Jan 2023 16:24:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145450; bh=NFTHn/7vSxjzDGwGqFQCBJWVrTJ8XQAglJR613dQjEY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MKzgIOCTg3d6qedJUWFgL4KWQ03dALduzZCSqvSiW85t/TK3CiCbIOAaLjO+sWW/t WRGcqG7JcfjP15EOy6TCWFWEOZxwZ/qBdJbIQS8SfjkkipjKRLrRCkZqNsMLrJdcY6 uWoKnkmgK0qkYw5WCYKUkxfpELNhv4B8p8AIGAK5VtqCOSsnmHgBQyhIVvKBmOozWA Di2Im6ZMZlNWbOHF2a5LZMvs10ny24cBZ4MAZSl1u5aDDRVhj2fS51Nv0RWDPj1XrR VajHmdobA7iGplscGnOyNFpC4exF3GWKjFa0GdxMnlDJDJXU98X0Xy8Z3dnit2Bnli TaFo5S8QsMstA== Date: Thu, 19 Jan 2023 16:24:02 +0000 From: Lee Jones To: Andy Shevchenko Cc: Gene Chen , linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Pavel Machek , Matthias Brugger , Sean Wang , Kurt Kanzenbach , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH v4 10/11] leds: syscon: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-11-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230103131256.33894-11-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 03 Jan 2023, Andy Shevchenko wrote: > LED core provides a helper to parse default state from firmware node. > Use it instead of custom implementation. > > Signed-off-by: Andy Shevchenko > --- > drivers/leds/leds-syscon.c | 49 ++++++++++++++++++-------------------- > 1 file changed, 23 insertions(+), 26 deletions(-) Applied, thanks -- Lee Jones [李琼斯]