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 22FEDC6FD1C for ; Tue, 14 Mar 2023 07:07:36 +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=r09C24GBQzDacd1BA6f/7gILUxG+EVsOflvkoNpvDPM=; b=G+YgxSN53uIU49 ugsOwEEddaXa89X9vINy/xkEbyl8+zHS/h1gP99auJO3FKTp5T/6ev5qLl/wewvP0nouPwBJfe1MB z6BHMu6oDKyAqyewVDm9KXWB3lxHOGtkt/nuyyKvHBMLk3IjpvCLqiS4R/aAzE3FLF4Z0/FSJyMvh UPGVMsGF69Xyi5vz50/j4okvpX40lpDTlV3yPehw9c/SX1b3xHDP2MhDPzuuw3371jBQnHQTfoTRW ryzb/JBLC+EYan1pg1sHBhyrz9GFP3qravGpqfn23eymyY2MTs2/kf5PbydJkBdwQTiADDbl7HS0V hySB6kyZ7PFbKdfw1AjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbyk4-009Ihg-1g; Tue, 14 Mar 2023 07:06:40 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbyk0-009IgG-Qe for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2023 07:06:38 +0000 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 EBAFE615E2; Tue, 14 Mar 2023 07:06:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E166AC433EF; Tue, 14 Mar 2023 07:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678777595; bh=5WUYMWsB/q/x4Fh46p6wM5DfRauDvR5orH0FEC0x1UM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YqgtqjmW44d/ImcJ3WQObPkonsKMYE0LdDbDIl8Sw5IWUBmu0gvXPsgsqYpnMrmlW SbOgErvdtPDbRCDdFEfc7PbV1FwsJmzYSyF9ab1K98aevhA1ahZDSA8xiS19fozXDe zoKt5OC1o8kFwSydmLEs3eKDIWrWmkkLi+fadDfxwxA8bY75wqtUUcvhSJ/xXkeC48 xLPHt5gWiBUmZNG+YbxUuUVNOnKQB6B+UjNsR8XAxKjLt/nyUGAhu9seUmwu0u8GgR eVRrCU6R8UPsBSIHC51comUCZa1zMX8vsObZFIGplLpu2RPl2dwRSaVE40cZcCLTo8 8q7gVHMPbHQ5A== Date: Tue, 14 Mar 2023 15:06:29 +0800 From: Shawn Guo To: Rob Herring Cc: Russell King , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: imx: Use of_property_read_bool() for boolean properties Message-ID: <20230314070629.GZ143566@dragon> References: <20230310144655.1540724-1-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230310144655.1540724-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230314_000636_922340_E64D4515 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. 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:46:55AM -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. > Convert reading boolean properties to to of_property_read_bool(). > > Signed-off-by: Rob Herring Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel