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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8085AC74A44 for ; Tue, 14 Mar 2023 07:06:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbjCNHGs (ORCPT ); Tue, 14 Mar 2023 03:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjCNHGq (ORCPT ); Tue, 14 Mar 2023 03:06:46 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8323696F1C; Tue, 14 Mar 2023 00:06:39 -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 sin.source.kernel.org (Postfix) with ESMTPS id 737A0CE12F1; Tue, 14 Mar 2023 07:06:37 +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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230310144655.1540724-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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!