Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1288776rwb; Thu, 19 Jan 2023 08:48:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXvwTxZ1RwCEqY6RUDh/2XOPANr47J60xrMIEnEbCLssdEU/7UQO8DyQUYHSv7GkA91F0joc X-Received: by 2002:a17:907:3a15:b0:819:7d8f:9684 with SMTP id fb21-20020a1709073a1500b008197d8f9684mr21612661ejc.72.1674146891635; Thu, 19 Jan 2023 08:48:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674146891; cv=none; d=google.com; s=arc-20160816; b=ILXTLIBLhMmrOQmi0CRESEwt2Ll9+GIh3XgHkkQv3hCM9NPTSAYLIiujuIaW3wPXpq jmKEAKnJOo8lsZjXUF3C0uMdoyEov2FWYERcuDFUnEfemFZPM07fN4jLazMZhkslW4Sv mYxvUjOGS5DQq6HRhWi4skvYKRVIVgYqaRxSVdQyREhBFYIq+QaZPIEmv1TjG6MqayJ1 S1t87KuKYL9LgRbmcFrTuaqFRkIUHna5tdJdwKKWPEKs7G8uDaWMwiLMe3yRSR8gGMGZ KXz5CUupdvzzIg/TbA/B2HKPnC1zBwDuvwQ6wb+U9yYpXRVjkUAk/x/cjQE4kRzONdZN HGMw== 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=e6EQCHTYa+xBwV1x2ww03y3S4iFX93R73mHv/88wTtU=; b=iS67BLRixUUYd5eN7ccPV3yQpQPlIb43yvpFmxwJd8t9QYGEQ/F4UX7itncYW4GJqu gmd9Y60YSE7mM1UFLCwPhVpfFjVZ7bcZo2desBtUUEsM5quOooobrEhKbx6J5UXvPIXd sqKU7YkhOjvwUIsACrkOoEY0tUgI2PRsSRCnwY5jfqc2NA8Aq0ZFJFVY2NmwLRtpz56y U8ocvffNLtQzOcMr0kqulM8RaIhTghDKPgCsr4zN5BuMKLf5Ysz0KzyzB038cNnEyRlU QqYwmhE34aphBLbEzDolYuJbE/CH5mHzM6wPMyVTUHdcO1ON7pNEbJD5dRyZMu7s/GrU OoRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SZQiTsvE; 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 wz11-20020a170906fe4b00b007c0a96378easi18620979ejb.704.2023.01.19.08.48.00; Thu, 19 Jan 2023 08:48: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=SZQiTsvE; 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 S229918AbjASQU0 (ORCPT + 45 others); Thu, 19 Jan 2023 11:20:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230356AbjASQTx (ORCPT ); Thu, 19 Jan 2023 11:19:53 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 545965C0EF; Thu, 19 Jan 2023 08:19:32 -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 2B976CE24C8; Thu, 19 Jan 2023 16:19:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B973C433EF; Thu, 19 Jan 2023 16:19:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145168; bh=IMLrxZxWaYCzpGqEBY+yM8xhvFB/xzDgIWYBYHHskLw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SZQiTsvESJOuHyvw3KdDpnIrGIlPCsrH2JdzfdFiId4lUHXr/ernvzN23/jChwVBN yeTBJfguripySoWqml+eB3PFquRSAhHZW5tbDRJk35OPqgR0XwEJB42kErus3sQHfO 9QYrYA0r+EnjoC4w4xcle+FHaMROuJTnGjx4xI5umlweOTtntOO9u6P/K0vtdX36+S Z6lque8e7pu3dd6DrnbjMN7ESbFCiwmenOlqBmKIUAAVr2IsTldcB4RMKjpUjHorJ0 gw+RIBX5zvr/DoscGBOqtT/CHtdCKXoGFZHlcaKkDUp1E2iJi+MbYpPeVGcThPX4Ym VeZbU4eR9+NNw== Date: Thu, 19 Jan 2023 16:19:20 +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 04/11] leds: bcm6328: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-5-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-5-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-bcm6328.c | 49 ++++++++++++++++++------------------- > 1 file changed, 24 insertions(+), 25 deletions(-) Applied, thanks -- Lee Jones [李琼斯]