Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2120227rwb; Thu, 19 Jan 2023 21:29:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuONoOzK+RNtMF5IOWruxDxjRmklx2AkCRGqVau8BlxPbHqeUD7hoQ1c6JLJlI3M0rxppWC X-Received: by 2002:aa7:c3ca:0:b0:499:b674:5a1f with SMTP id l10-20020aa7c3ca000000b00499b6745a1fmr24966969edr.28.1674192546747; Thu, 19 Jan 2023 21:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674192546; cv=none; d=google.com; s=arc-20160816; b=BMtpaOjq2EjLLC4dZsHl90eoXRVtY9F7h09pz6WUuBuhcC70XW8D+Z79nyT9NPTOct HrLMu2Ed7z2XwgqQ7sl49pXCPeePhy656UWrwFZAj/ZQ7BPqci1ecFOnVpH1imE8Bold mjtK71NscXjaE618n6BE0fEKxK3QQSx7JKGNE5q/4GEe5j2C2ZwaxHKu+WBcFthFdN5K 7uZ3iiCbKbpxVrco8wMO1p27tsB0ZYsXh7990RxIaTqBDV2ugR7bQ79zIov8FfMO7vYE ijbKDp9SQRFlIgM/y8SpAzHImVPBiqnXs9Ky5UdM11fmF3xQkz8fUvVlW9+sAt/ehCsJ cWKQ== 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=Zc/NSY6GWrtTUUJGjuAd068DMG1X94L7zxp+NzLjvw4=; b=Vod5WX/IRvCIDP0ioyZVCbky9xCMNgnBXnRyDMYk1wtqQaVPzgw/ayPP7rDgrr/Fvh ONtJ1KjbwAuuwCABzinBmWdVbDLtx91VPg7n9QPjhlZZ6hLoD8I6mYJmQeq7lQUt3HuA 5RenvmTXBMREvFPUXRzshOkNp6WI98IwA8+ttTDHZpxAEQzFLsuKXRGY4qYEQwYJgRfr 1fC3xpE+lCk7hJSY5oVWpaMIybKH+2Ds4zf/m9ccFcqc7cSkBvu+EUjbxR/nysICuJkU z7QxXSgbDzyGV66wSTJvnS0qs0dLnYYnN7HiP01d8v5bzQriKyhn+WfjB0sY6VdraY9w 3jYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JQMhvA8x; 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 ds8-20020a0564021cc800b0049db936930bsi17199044edb.95.2023.01.19.21.28.54; Thu, 19 Jan 2023 21:29:06 -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=JQMhvA8x; 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 S229940AbjATFDf (ORCPT + 49 others); Fri, 20 Jan 2023 00:03:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjATFDM (ORCPT ); Fri, 20 Jan 2023 00:03:12 -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 7A59A56192; Thu, 19 Jan 2023 20:50:37 -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 B3558B825E5; Thu, 19 Jan 2023 16:22:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C258EC433EF; Thu, 19 Jan 2023 16:22:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145360; bh=mMNU0hX5604g+0qs6K1wrlzdb2Auk61vShun7veApWc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JQMhvA8xwnA/qZrYWMsM9GhMhIrpN8+y9l4tdbYFWzGo/LPsOuxuOkqEq+BtoLj+K FyqkYUDtCkFsxQOFO3C+AFPb7bQoYr10AlYAxhCe+AwygoIK6GaM3pkKnhFN2rxZMV I3lY3SWaS3mNdWgwkFI7HiGkHc0EEB3mNCeugfVTnSLLx75YNneJFwG0QhkOOm6rf8 gcxTCWlh/I6gIE1uDPFq4YOZrq+vFrx0DWEd7PFfNR12vKGw97mj2swcTXmK9pW5hi On3GIyT2IMVqLGDVHERAawvGtiKMyfS4zShzh11K0cpOPQ0SC42PE/1g/+JRwfoS9P ay9RKCzs7erDA== Date: Thu, 19 Jan 2023 16:22:32 +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 , AngeloGioacchino Del Regno Subject: Re: [PATCH v4 07/11] leds: mt6360: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-8-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-8-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 > Reviewed-by: Matthias Brugger > Reviewed-by: AngeloGioacchino Del Regno > --- > drivers/leds/flash/leds-mt6360.c | 38 +++++--------------------------- > 1 file changed, 6 insertions(+), 32 deletions(-) Applied, thanks -- Lee Jones [李琼斯]