From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CFDCAC6FD1C for ; Thu, 23 Mar 2023 12:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lc1QXuIetqJJNXwyaurM+5JqMWUNGkPXGaRFNtSXwz0=; b=fTqsImGUSlps6k e5GZYd5nwX+VNQx/k3qxRCH2pLzN4ybxg43mwPyzgFNYpfrdrZWUrC8Y8Y/r+nvT59jzdpZRV5pRv CAgiRfO6G58UDkleQVDoUmaDDGn1jg6hpj8jSQyCUWj6nPpwoqrcucwaHPoRSZjYdQEXQMSiZfkXI oesbvRDzR7cO4skfBrIRNPhQeyyp/om6OJz6lswkiWx0MdxMZQ8GIhNYOBAyr1vOJ0fse5dUa7zX+ HOe63RHKJ7LUQkdhVZF8soSQK+HR/OxNvnfpinEZt/Pus6wFElryHz6A9IMR1OUdFNAKqM90gvCo1 qj3m5BOa6/a3yQ5s7kAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfJcV-001ots-0o; Thu, 23 Mar 2023 12:00:39 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfJcR-001otG-33 for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2023 12:00:37 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 691974B3; Thu, 23 Mar 2023 05:01:18 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CCA713F766; Thu, 23 Mar 2023 05:00:32 -0700 (PDT) Date: Thu, 23 Mar 2023 12:00:30 +0000 From: Sudeep Holla To: Rob Herring Cc: Cristian Marussi , Sudeep Holla , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH] firmware: Use of_property_present() for testing DT property presence Message-ID: <20230323120030.7mk62xk7tco32zw2@bogus> References: <20230310144704.1542045-1-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230310144704.1542045-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230323_050036_030349_0E59759D X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 10, 2023 at 08:47:04AM -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. > > Signed-off-by: Rob Herring > --- > drivers/firmware/arm_scmi/optee.c | 2 +- Acked-by: Sudeep Holla (for the SCMI part) I am assuming you will route this as it has other changes as well in the patch. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel