Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1320417rwb; Thu, 19 Jan 2023 09:09:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXsL353rIcicREZLmohGEzbch6Y3YrXUGUJZo0h+AgfT312iKvNy3WesQeSrI7HH1G/yy4Hb X-Received: by 2002:a17:902:ce0b:b0:194:586a:77ba with SMTP id k11-20020a170902ce0b00b00194586a77bamr14056275plg.52.1674148166956; Thu, 19 Jan 2023 09:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674148166; cv=none; d=google.com; s=arc-20160816; b=UsafXl97vvhHeAqcknBGM9cZnEmSywJejnIWUurhWktiNbEWnMU3/5ijcVRvg3JGOt z2e6KuQgtlGO4QLQKJG7hOsLU1/dNEeQAm2J5Yr3cZn5kzhN6wvNVRKYWa03fLCr1xFH EwFv+dEb5LGIHdWxChsOvmonk6Xl6+EA2wuflBMH5AWz0hjD5truxKdy0vrQrvj979iY npjHZloWdGdidfWDsGJymXoADk5hV7jDTNrmTSMiy1S2RF6XPs3tP3AzGXIoZ54eS77n wFKWL25kRgK/RuBg4Yru1197NkGxOA8QRuSmYkWuk38IWhCYJ5iM9d6QOXQ/kWPr3SFh VxbQ== 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=AI3KPUIQBnzfJy+fBgM0aRds3MLa6M/rKQfXw1R8FE4=; b=WQIZ8JGQG3iVan01r5evpDAHBIQAiJGayxDG0kmx7h9yI29vyORtODjZVUJxbr4nhx XIDUQYHatoIPpCcQ6UiQoWzWf2PFUMzXQ1xHr3vJd50JLXbPiMfdUfC3UfJPVx3swwGy O4xR65ERcK2zkhDcpiytuVVMfR91+zjNbvGwhJOuJ/7zLGUV6GgX/8v/lrB8bPrglwbd NKJY+o+qlKMo7N7O8IeeEzwRanRe7z7FIIZ+2jyCTP74BlD90YzCOXsMH6mnCor6BY1O i1GirDqmnfUTVAs1l+keMnTsy2Ms9PlbPrT0Yi1tQO7XZQ2PCL14U1V2VDx6NkQWVJPR 41qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VQoFOGi7; 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 ba9-20020a170902720900b00192972afbc5si38306251plb.459.2023.01.19.09.09.20; Thu, 19 Jan 2023 09:09:26 -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=VQoFOGi7; 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 S230170AbjASQUg (ORCPT + 45 others); Thu, 19 Jan 2023 11:20:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229899AbjASQUP (ORCPT ); Thu, 19 Jan 2023 11:20:15 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBDAE8A0CB; Thu, 19 Jan 2023 08:20:13 -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 sin.source.kernel.org (Postfix) with ESMTPS id 43AD8CE24C4; Thu, 19 Jan 2023 16:20:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 919C2C433F0; Thu, 19 Jan 2023 16:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145210; bh=rtqy/4jzWUKYzufv20wtz3Q4NRBKbXZ0tWFYpyC86SE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VQoFOGi7OdAifp5AcLc3j3TfX3u3pABncPkLJ7uhzc9S7buteUyqpaM7r+fwN31Fx 7FwT9y4UgsktGOa0c5BEwEKOq6IMBVdSIMar4nWZumQ3/5nGK7E2n7dvyZQ1LMyaxG xxYZqiiBXRt05tPS4troo2WsU8Rz1fqzoPGtHP3Z4Pw8zNWHF+QF4jrY+Wu/OWAlVd DYbFfFMDMp9HQfKtPgPwBYhN8VAFT+BHaz3ODidaGTXuePCoCwJn8yK83cUpKLcfUQ TYvBFXPqrxYvgMm2XGPQCRb3YScL6A4Ro4F2RtCmlHfpTvDJW9JhfGe3Ik9WUT+AHu hqWoqd+lqnecA== Date: Thu, 19 Jan 2023 16:20: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 05/11] leds: bcm6358: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-6-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-6-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: Florian Fainelli > --- > drivers/leds/leds-bcm6358.c | 32 ++++++++++++++++---------------- > 1 file changed, 16 insertions(+), 16 deletions(-) Applied, thanks -- Lee Jones [李琼斯]