Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1315644rwb; Thu, 19 Jan 2023 09:06:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXsJb9tPRsL8xQ8gNuI6l8gzPlVMQVgVOk4Vx9juHlHKT0RLxgvOoOfE1N1Kv6wWsBM1w4Xk X-Received: by 2002:a05:6402:493:b0:46d:53d7:d21e with SMTP id k19-20020a056402049300b0046d53d7d21emr11461181edv.27.1674148002109; Thu, 19 Jan 2023 09:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674148002; cv=none; d=google.com; s=arc-20160816; b=BBPCyNUYC8Hv7hP8YLU2f1TOnmEvngDTBWYA5GVKcTcrnH0A37ilgf+gUCD/6AieCO WAXGEeqNR6JPP6dnVO8wojgoCtHoV3X2HA0F2UUeIca0PT7vdTqh3syucb1z6UgqSPbH RRotI66/zHNrZK/kA98gA1whwXt2UuhPNopnDzc+KpPIyU9ewAoiNjaYDPUrqHkcPJ3V Vy0z45+UeFSvXzgFdpLbCagIEgdjJAky26YZgK6+vgwKLMs+SsNTBtXjjJwTwa0zVRpz GWH93hykWwbeJBxFTcFJ8tyPaBAREoM8/QSUZPONKP2SYWq2A36eM03dzop7YonVK3UY CEHg== 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=coRBqI8phPZBspKOuNRcQh6UM58DLx0IE7PCLakm2Ms=; b=chD6ZzDtuKSHi6l/4Xe8h9I8pda82qAikw+QJaBCThSE2h3jUTEsQ54c6u2xgv/M/M J5LIvvbc9yqwfob2oErM5Sj0RrRIN2UqEEgESCvW3Vce3itCVG73KasahzobNeJy4h8L +q7kqeZFM6S1K2H7+5D7URAr7ibI+I5xgrwDKnwCJqgsHME7EzvwG9dIZlX1kkuKRdER Jy3tMxv+JFb7p5ksxGEmnsvfxy/RNXHHC0XY02OEkA5lM+RHkygF1/Mka5aVZGizF/YT 8qobpfwxa0nXkxJWQ/dp4GYsh9BAkplRgZKV9LDbttbanR6CrSWrpKE3TXD8XD1CQHF4 EVIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n48cuzEz; 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 q1-20020a056402248100b00485731f9eb0si22735321eda.345.2023.01.19.09.06.29; Thu, 19 Jan 2023 09:06:42 -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=n48cuzEz; 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 S230003AbjASQXl (ORCPT + 45 others); Thu, 19 Jan 2023 11:23:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbjASQXi (ORCPT ); Thu, 19 Jan 2023 11:23:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF9BB63087; Thu, 19 Jan 2023 08:23:35 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6B29061CB6; Thu, 19 Jan 2023 16:23:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACF77C433F0; Thu, 19 Jan 2023 16:23:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145414; bh=OyTgylevIYiSuTJ5Rr4Ul9z2XW9kC85chWBOKL8AMQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n48cuzEzh7Unn2es2XU11+A+a+I77PTXNP56BmL32C/CK3On48k8o4n08cNeD6XHV Fcj12SYHxud2CH3gQffBb7qvHRdDgwfFCoiq4rjuoQQkIQYDm/ROda+xG/oIwuV81G F2SiGsXw3WOL0Q6NaUErd/QhuSeAzIzBkc5/xKKqtsG3kc7LxMD2iMOo3J46OymRzl VhtMRyPgH1QDs1977QTN+As4C6HRFLQ5dP/xVr8H/dxwcZIp2ke+hFm+GP90oaL0IX 2w5qyB99/oxoGdUZgHZaI+9zAQzPtTfUaMt3UXYVpcDJLnVQDPvEXpKkQ/aVRunxog Pr/IsAzM9quVg== Date: Thu, 19 Jan 2023 16:23:27 +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 09/11] leds: pm8058: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-10-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-10-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-pm8058.c | 29 +++++++++++++++-------------- > 1 file changed, 15 insertions(+), 14 deletions(-) Applied, thanks -- Lee Jones [李琼斯]