Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2165875rwb; Thu, 19 Jan 2023 22:18:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXuGCO5c4wNpWGOG2FsptTOKKLyYXQajkCk0RdtjGYOKLjveYkTrcaQ1ableQ9fS/amNJrTR X-Received: by 2002:a05:6402:3583:b0:49d:fd6d:925d with SMTP id y3-20020a056402358300b0049dfd6d925dmr18536191edc.23.1674195496857; Thu, 19 Jan 2023 22:18:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674195496; cv=none; d=google.com; s=arc-20160816; b=C36U+PisFhAYd8S6Om6UaZmQB2ryg5yoz4DAcy/1IdeQx0W/iBZVGobQlvgCZbvcjf gZeqs5EI4IjC+Mih1kB8PDPiSV7SMoJeXTyV883MyEn4kMJZ6zo5+LbeQyNtsLxUam3X CzBcDGGa7undkbnEmzfEA+a+nbVkl81yctcKyQQmlSJXQ5lk0f2SMufhOXRQKerpb2CM 0nsnk2eAYG5qGDQpgc2r6JZ1uqVHIIR511FbKoXKpAy2VMAOEU60jrrAvBcNALOuymtY 7PRKFCTMAGJvvddX5k5NNRZGsBrDGFQ3LEDvX2UqXealHJYP0hnRSlZWsXx4UbfWXdwD NUqA== 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=zCpAl90W827N8CpD/RGvFok8HJmi1E+2gm0/TKEaZeg=; b=YDhMQOsx5HskUbjps4r1QxoTqXS2JhRA4K/nPzZHOrTaEXyma8auC70YPjxaFtzyyn BDBgY5zNttpw7+DAM6r0yDrMAlGC6S84e7NPjkp5k/761s2SwVjGhCKihVb0zYbT+/6C uF7mionsbMduwn9fFVSWy2+h7wtjoDNncTHPektcu6hZFdxX64gCSL/asJ1uhJGLSVZx DCSsPph2OYQ29SmgK5TKapWIFFKviDHcePYIwRRuMVQMt2gaTsrLoqY3RxVf9lGFcpUO hH++mZ7Ip2HbwwBZ60C/6tKqLTNssYlDC+YWXJGGsOfqdaCqVBsyt6RPx2c5A/Mxr//n 0RjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HSLIvmR/"; 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 h11-20020a0564020e0b00b0049cb1901e8fsi21811939edh.561.2023.01.19.22.18.05; Thu, 19 Jan 2023 22:18:16 -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="HSLIvmR/"; 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 S231476AbjATF0d (ORCPT + 47 others); Fri, 20 Jan 2023 00:26:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230512AbjATF0C (ORCPT ); Fri, 20 Jan 2023 00:26:02 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AC224CE77; Thu, 19 Jan 2023 21:18:23 -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 2AEF9B825E3; Thu, 19 Jan 2023 16:22:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44106C433EF; Thu, 19 Jan 2023 16:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145320; bh=lYW4XXPu/4M0mVDoNevIYpipR/KmVNL/JlKftb1SEaY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HSLIvmR/6lbKxtNEGDKqFJHpYJrHXPVXBb5eKJEaxAKzlWVtnlNO5VR0D/m4BNqh4 VQNjcq/k8Wwitf12CSgVQwAU6sxWHvQJaFtDM+W1lZk3QCZarlHP6ZoTuNtHIRusGg 9nvqPV7lBz0XgTHOIm/Oe8tSJG9/r9uagCEmixAJRa6G111CMCYn0+vNUC3PsD7OUu OmHlL7rq24an7huWcZcyMrk5M//6ecRx3bJTgXeRRJeuRgSaXS05NNXHIQhnaVdpeU WEXs1WWcgjuha62levsHsaBs9VszzQiiP3PrcbSEKJwGz7XqIKWy+7lXGSeYuwfZ4a JxUGk1vGQazzA== Date: Thu, 19 Jan 2023 16:21:52 +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 06/11] leds: mt6323: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-7-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-7-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: AngeloGioacchino Del Regno > --- > drivers/leds/leds-mt6323.c | 30 +++++++++++++++--------------- > 1 file changed, 15 insertions(+), 15 deletions(-) Applied, thanks -- Lee Jones [李琼斯]