Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp128552rwe; Tue, 18 Apr 2023 19:01:16 -0700 (PDT) X-Google-Smtp-Source: AKy350blt4KTw8QrwKwOMWs09AiIEUF5oKeVvsshU+9mPOWzSxRg6tS1KcH25R3Pjp3/OXbVP8um X-Received: by 2002:a05:6a20:4418:b0:ef:cb4c:c24d with SMTP id ce24-20020a056a20441800b000efcb4cc24dmr1534244pzb.35.1681869676043; Tue, 18 Apr 2023 19:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681869676; cv=none; d=google.com; s=arc-20160816; b=f/NJMV8w+rV1gl6ZT6asKCaZBzXu/Hm3S2StApGKpRRAcdfBeIJZSojPwVYnDylnqZ IGhdFsbMlNXuIv3tCmyS1dpjidvU5vKkWSmYkvHZ4k2634+F6TGgzhiW5dKGdnqbBvdU 4YLXoMWiVie0sUK2wxYIAxgFf75Mi1aHfeyk4mAYt2jlpxW9YhMIUJoZtlVm1BkT8mEx QeeUY9iofxdrGwKAwAmhlz9UvB9uijSGQzCKbEJ6GDaMM0hVq8N6s4fTSApD/YrROGtl pwtWh0T00WwauTtOf50HVYMz7mrbqRw5vkFJMkbIUN0vE2Mnr6glbVE0RIvFgFSnnrvP iDJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cDgUQpZ8HCGddo6XTYDc2oaj+y5UyimgLI9afN5LqRk=; b=rmA22+jDHQBKZSeoQ3JN4fxlm+WaYS3+PPqA1eeVsF4fIhoecVqZTudunY8jyXNjh4 39p4TiwAgdgckobKWozM2l+fTNYtJLlujz7yq6B1pJjlxVeBclRWGtit2lpSuawwHAEd muAz5P+UdT8yKqpqzUoKEg+Z6iASCLe98ri4DmOKxBuqkt/j3mQLaK+V36J1bk9oMvdn TXzSWvSjSiGUqKxrEB66RbjJj2clKxjZASFX/FTR8GG6WMRAviviLZk5u5op5z+t6e4M 9bJEp81M4f9WJE/6ypsowWtY6xILNGBcEu/mKmZvR5KK10RVEi+SUW7cmt0OCo1rEFZF yIUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IwSLXeJV; 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 na16-20020a17090b4c1000b00247968ab348si466815pjb.80.2023.04.18.19.01.04; Tue, 18 Apr 2023 19:01:16 -0700 (PDT) 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=IwSLXeJV; 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 S231565AbjDSB5l (ORCPT + 99 others); Tue, 18 Apr 2023 21:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231176AbjDSB5j (ORCPT ); Tue, 18 Apr 2023 21:57:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1BA75240; Tue, 18 Apr 2023 18:57:38 -0700 (PDT) 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 3D39D63440; Wed, 19 Apr 2023 01:57:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11466C4339B; Wed, 19 Apr 2023 01:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681869457; bh=cyDiSiDt9MHhBeGu+T78Mg+vrBHrs+kZ1XoHRT7tuFY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IwSLXeJVoKxd+rW1Mqdj11NeI5rB6othYp/bvLr3Wskqsy/7Hlbr6e7sN1LvX3En1 6pOadn/FblsVhtwnf1HI1jQEBcoC5SgaADLnZvhDftponCQVZ5H0bnDaHt4DA7loHl Q+qHjpsGuT2zYO2b28oK7vnE5SliYd18HjdonKxfRqCu857jlV3ddFYPUMA2Byg71A 65zO8ZCfwlbVGsX1LcNWSm5GowL9MW2/RIgG30tbQnDCE7tnntVXVBzULvN5owoAMw luN0S78ksZ7/6l7132QjULjt8VyshiX9zd9VcajSOmDvUhrDKWKU1RS59YiHI85V0Q 3S3flwgyAH+nQ== From: Bjorn Andersson To: Mathieu Poirier , Rob Herring , Patrice Chotard Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH] remoteproc: st: Use of_property_present() for testing DT property presence Date: Tue, 18 Apr 2023 19:01:09 -0700 Message-Id: <168186966272.1517024.8536749157117109208.b4-ty@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230310144736.1546972-1-robh@kernel.org> References: <20230310144736.1546972-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE 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 Fri, 10 Mar 2023 08:47:35 -0600, Rob Herring wrote: > It is preferred to use typed property access functions (i.e. > of_property_read_ functions) rather than low-level > of_get_property/of_find_property functions for reading properties. As > part of this, convert of_get_property/of_find_property calls to the > recently added of_property_present() helper when we just want to test > for presence of a property and nothing more. > > [...] Applied, thanks! [1/1] remoteproc: st: Use of_property_present() for testing DT property presence commit: 1f6fa392a9942e4a2bd3122913baeb33e987ccd9 Best regards, -- Bjorn Andersson