Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1290262rwb; Thu, 19 Jan 2023 08:49:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXtc0P11OveFCVndSoOijoEiFdeUKY9yMsLgONohBn/gVUPbSztttiUBA/ni8gYMv4eVGePn X-Received: by 2002:a17:907:9891:b0:870:42e8:2468 with SMTP id ja17-20020a170907989100b0087042e82468mr11548769ejc.70.1674146968075; Thu, 19 Jan 2023 08:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674146968; cv=none; d=google.com; s=arc-20160816; b=icPEOo1Vn23e5Lk4mkSoEFAweGrQAl2hVq4G0+VjtPgLHgjgz+isTpq1x43v9+PXeB ccYubPpGea8vO0uQvNy/71O+uqmj6/88olsrLDCzJ/YLi4jE7IfF2xH8OmhHRfKKlK6J hrEkuEf02y8zbqbS/l3mYvpZskRMvREEBLRnPdlJB5ml39eV0hYKzUMTTn26FcoOub2F pg97HbT3/IlT+BSiufWUSEQufcNe0MwkDdw0guCfaXbcb4R8ZfWyC2+JNJXL1IfRxdjm W2BH5Yq+CsmHq+ZI9qW+j+MauGxE81GbHVnjGjI167gxZWIK8X1cqtfiYR0wRWQImN4D HPOg== 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=0FjNSgC9PNpMtziDrd9ruBkmkyh+1reW/KDGscQa04o=; b=gTrn/ttt+n3bHG0BB57IMtZ2rcdBCoWN5mfa4HOweWEHWMjMjLTTt3t+ehHuNr0QGq 2Xx5lxDiKb0Eo1b2qt/QpvSMxNDC4v4eHkH+5cT4wGNEYNKQ3uQgHiNxHrj6mXN4W9PI vTDPACyhAT+xuy8+IAWSWxO5XlM6JP6AUBhCoBXBFEUhTNwtMaXyzLusLuDrO70XDHgX w/qkPw7ve78Yss4U93f1vmGhyx++oTfULfbrTfZdWFKr2KlI/37mmG6vB6DGXS+hdfxQ wKgWCiAgswXcVb4Yap/vDiWrvqiMoFhHkOf8met9Khx7/55L6yDJ6ie+fEbIwQWnzwfT hc3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mhVxmzgl; 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.49.17; Thu, 19 Jan 2023 08:49:28 -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=mhVxmzgl; 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 S229761AbjASQXO (ORCPT + 45 others); Thu, 19 Jan 2023 11:23:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjASQXM (ORCPT ); Thu, 19 Jan 2023 11:23:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D6784F34A; Thu, 19 Jan 2023 08:23:12 -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 9C3A861C7B; Thu, 19 Jan 2023 16:23:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 558AEC433EF; Thu, 19 Jan 2023 16:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145391; bh=9XkQ6Kh5SPmyhSqvvmawvoCpf0X2h3RYxZuu4mVuKj8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mhVxmzglOWJSu89yWeFQi6iQ5tTnKejNhTohxAlP+wgZWWjM29G7zrCkBpmPBc8hm t+kySzbzVLCvJ5kkGT3YxqEXkxC+a7eQq5xJKGAyO1aNBiqSYihrnHNYmWuDbk0HtA CPAtuqp1S7rnTFF2raM6K4HfHIXup7y9yIhwCIVGaJ/2AuCbrUjkAwpt/vslWKEV1J sul8kKbsaxbWkmUobWivgLht9x+KCisv9emImjSoLmelyofUcNQ3fQYR6AUKOss1nT YTPKEoGDHYX2TG12KCWF7kUq8CAClqAfD8WCGp5X2wm+2v6FlBrLj46P8gQMLnG+Zo 9NfnxNn3tvmRw== Date: Thu, 19 Jan 2023 16:23: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 08/11] leds: pca955x: Get rid of custom led_init_default_state_get() Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-9-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-9-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-pca955x.c | 26 ++++++-------------------- > 1 file changed, 6 insertions(+), 20 deletions(-) Applied, thanks -- Lee Jones [李琼斯]