Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1278698rwb; Thu, 19 Jan 2023 08:40:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXusmVG70esl1bZLYcd3SXOTfC69tMAIcxKWPDSANMC302Mknxfvt9cneUovR/6qm+LiFdZj X-Received: by 2002:a17:907:20db:b0:7c1:7226:c936 with SMTP id qq27-20020a17090720db00b007c17226c936mr11406912ejb.64.1674146411169; Thu, 19 Jan 2023 08:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674146411; cv=none; d=google.com; s=arc-20160816; b=eQnqDaGCfa4WJulUSEcVcEEXhOP4urb6yN90J67LBlhbkun34s0nIT2IZELf87yx1V +6yh/2fx+/k33bVTHQEOjqkyNIig2IQQxDe/NC7KO3lV3uqTXo77djjNZmTLf+cYqPqj pJa4r0qfI19jhJ21wo2t2COg5rIF6WG7UIVHW242WDicSq23J5rA4zRErYxl29Fj/nuV rxpfNHEYa00403VZGp0N06MYmb9s/8j5cDHN6mieZWKiwjgULZQ4RLrtpIo7uUT5s+wQ s5HjrTxYqCsNG5uc7s6taX13mT45+rbc2H1s6MyWO7w8Mbz75PB/NE2Y20u8Wlv3rEuU cUWg== 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=WnxOUI0gSpV8hG2Jd9EBkFsm+VLyG+zvfjtl3jmBTzs=; b=givAUxZSd6ihrhTEcBHkWp8xeZt1AsodTx+kD5pUyd457E3q608tD/7cWtjXeeT3LN WN2J1AbkVYVuhpKnn9Su1fcOd+pI3pdNSAf5KyRMYgf4RgZsCnSyYveeAF39h9RuWuBn ISgA0iUCvFhY9n6Z4geGq4fv1QTxUvUeopc9hUTCMWBg5CjMbdgH7zT+F4TJuCejY+9T TF08ZzqqFZrDbXT0/k7RYcPQKF/d5kK7HUziJs1cIF7DXb+mtK7cGcyQHXOCMh37fV/D FWGAqtJvAOvgCP74lHiH98IxV0BOUuB1+tVIqPZyPM3EjYPrXfdcCIbNbe38eQPhlzfJ CTKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KseCt10w; 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 g4-20020a1709065d0400b0086f3e470d23si17911258ejt.723.2023.01.19.08.39.59; Thu, 19 Jan 2023 08:40:11 -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=KseCt10w; 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 S230306AbjASQS2 (ORCPT + 45 others); Thu, 19 Jan 2023 11:18:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229797AbjASQSM (ORCPT ); Thu, 19 Jan 2023 11:18:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 141204FCEB; Thu, 19 Jan 2023 08:18:05 -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 9C95861CBD; Thu, 19 Jan 2023 16:18:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99F26C433D2; Thu, 19 Jan 2023 16:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145084; bh=KPB9grz4uvPJpF4QpoFc6YTHB9fcdI0QZLt3JLksYgk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KseCt10wUfr4FTjsx7zyulL8S7ZmllLdt7pkJu2f3aEYLGrvbT9L32Lvp8V6vizWe TGkRUL7kNvurFIHTVBuviKZXPNFvh1r0Kclr8cyMed3fXBDz/4Rcnn2gCYmlABo8PW baljXHIydxYZON3PyeYiiV8HjfHw+u7n0+fhlPrxevP9IZn4wk0YfEbKgh9EFz0ugi CMO+CIflYwFFsIYqgr7TQWLQQQa896zXdqX9JovSP84bdmz3kAJVaGmQmiey5inXId pElZ1dfzyuMowMlXbzC8579IIqd+rzxb+02ozF8fG6IaIHVweUltagb9hq4dxHOVAk VIVBclatYXxMw== Date: Thu, 19 Jan 2023 16:17:56 +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 03/11] leds: an30259a: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-4-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-4-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-an30259a.c | 21 ++++----------------- > 1 file changed, 4 insertions(+), 17 deletions(-) Applied, thanks -- Lee Jones [李琼斯]