Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2493566rwl; Mon, 27 Mar 2023 00:34:14 -0700 (PDT) X-Google-Smtp-Source: AKy350ZyVZvugugR79mt+MVzMocmQDWFY6lbxZPyYoZXMc2HgYUdRzRaWYKTXIJXsYHNTPlOVhUE X-Received: by 2002:a17:902:c943:b0:1a1:b748:f33f with SMTP id i3-20020a170902c94300b001a1b748f33fmr11808375pla.69.1679902454087; Mon, 27 Mar 2023 00:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679902454; cv=none; d=google.com; s=arc-20160816; b=CNQmgC6/98B8+2eE7X1x0J00s00Soo9NRIgvePHoqfXvOvIU5vLrlleKSM4leNcf8o z6BmJTYdUxWkwES9W6KIq7ouGc+I8Njc8HNlXG9Brvy2mK4jndstIOoZRyWOHSRBZ176 wf2xlQR6tl/otxkRj4/xQQbuCQJLr3gNMrhjwE5lr3+RD7HVjNT4RQtiZwtqUfho9va9 M5hyp34qjWXczPwmQazS0dFRomxwp9ti1Qbu34S3KTK987n7KE9k0WkDxd6dsVLZhze0 Ok9nsE3OQkQP9K72rSQxvml3RToJCMQJzvtduYy5ii/7eOqKFU+YdAyEcUMk4/Ty2j6L QH4w== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+XQnluI0K4auYnxzzF/e8QQihCSFRDVrW+CFDs4rz3Y=; b=b3mMZv4Xn6wFHwdNf75pLcbyvBVRcb1fKhMif0TpFt0JeTklQtGYtDJXl1RfC4FEmU dLQhyXnpQ5Sazr+781XpZIu/hCNKftw/le659mvfbFFIRLs/IdJLz5ELH8WJ4Xfmu7or jixJdeD6GRiUckKpX1nyRqXFUFgvbMuhrrbXWmmAgHyN2ivbblCPUdKoPEFNLzOFLU1x iMiWi3U25j+Sva1L+tZ6W/v6PlU3WwBPPSyZGzpfkIC0wTxaj0Z+EK18gKmIPpz3Tvia t8OcVeIajVhwPElgJxfoKkAr7OKYBiDw0kbxX4LifWRhu+HQfTtaBkDvG6tK4DyjVFwr EZhg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170903024700b001948d9c2ca8si28240091plh.179.2023.03.27.00.34.02; Mon, 27 Mar 2023 00:34:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232341AbjC0Hcs (ORCPT + 99 others); Mon, 27 Mar 2023 03:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbjC0Hcr (ORCPT ); Mon, 27 Mar 2023 03:32:47 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1B3ED18E; Mon, 27 Mar 2023 00:32:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 6BCA68108; Mon, 27 Mar 2023 07:32:46 +0000 (UTC) Date: Mon, 27 Mar 2023 10:32:45 +0300 From: Tony Lindgren To: Rob Herring Cc: devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bus: ti-sysc: Use of_property_present() for testing DT property presence Message-ID: <20230327073245.GV7501@atomide.com> References: <20230310144734.1546656-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230310144734.1546656-1-robh@kernel.org> X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 * Rob Herring [230310 16:48]: > 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. Thanks applying into omap-for-v6.4/ti-sysc. Tony