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 6189BC6FD1F for ; Mon, 13 Mar 2023 06:58:44 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xo+8tlmOjCd0uhaA6NnH8Kd9dWrJJtPO+cnNx61hxPQ=; b=09oSomuPECaHn1 vnmlLliYVwi8kFfBQNuZC0NyDMLHejcd1+ZbDyaGZNIqf0He6UtfKJRPAQRgilmKcWJCVXPX3Yyv+ RotcdnVJoNusWvRlKQOnt+iymHXp62YZUav+BgFeS9rxYa0GZKu1eR8WYvxB9lBWdie3lAqNZDdQx wZeAsz+CqOkAJwyQPuObE+9Z2KNr6Ipvs57emb3J0vOvrZ9CmnwGa4cnumu660KbjtoOqIz8rs9g+ uct7gbZT/rLwMBclpjVzgE+saiXoTal9gwqFae4MqLd8hIW6Rt1JHNOYssIzaJia7Kcx9XkaB63Yz c5L8UwiFhky6AN+aqRjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbc7v-004Wty-1p; Mon, 13 Mar 2023 06:57:47 +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 1pbc7r-004WtF-4G for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2023 06:57:44 +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 A057E610E8; Mon, 13 Mar 2023 06:57:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF9A8C433EF; Mon, 13 Mar 2023 06:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678690661; bh=yXZd505XmCeN942UNqXIjHQ5Kwm2nMyuVli34Flsl0k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OV3Qmz/IfYFypeHG/KN765o4V5OmR9wF58a5r9sl82BrhzjL6RJ0t2BMCNGpw1ntM KjslQkVZ0JESUZldaRATa7IiEt8tChEUY7aZGOsKDbNPnUsdLkk50GUTNcHuQt8uwu /nvJPmC0zq/U3J3CkrwQSJOg3YVsyp9NHgqDbR+vvwKY5uHZfopN5Xhlfq4vRJqL5K 2lcLp4KOgNNKzHrc3lBCwzRTQhSEaT9H270FVzm0fOR5LBxNIFif2HMZyuJyMpJZPr JZdom+77L9fbpCIolgn8UTraemz7xWvoDX9JRXWvn+mO+3wAXa1vcYQvfqy6DaFU28 H00x/o9omaPFw== From: Kalle Valo To: Rob Herring Subject: Re: [PATCH] net: Use of_property_read_bool() for boolean properties References: <20230310144718.1544169-1-robh@kernel.org> Date: Mon, 13 Mar 2023 08:57:31 +0200 In-Reply-To: <20230310144718.1544169-1-robh@kernel.org> (Rob Herring's message of "Fri, 10 Mar 2023 08:47:16 -0600") Message-ID: <87ttypnnok.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230312_235743_268880_5B38D390 X-CRM114-Status: GOOD ( 12.97 ) 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: , Cc: Alexandre Torgue , linux-kernel@vger.kernel.org, Eric Dumazet , Shenwei Wang , Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Zhao Qiang , Michal Simek , Jose Abreu , Clark Wang , NXP Linux Team , Francois Romieu , Jakub Kicinski , Paolo Abeni , Wolfgang Grandegger , devicetree@vger.kernel.org, Grygorii Strashko , Pengutronix Kernel Team , Sascha Hauer , linuxppc-dev@lists.ozlabs.org, linux-can@vger.kernel.org, Claudiu Manoil , Marc Kleine-Budde , Giuseppe Cavallaro , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, "David S. Miller" , Maxime Coquelin , Wei Fang , Samuel Mendoza-Jonas , Shawn Guo , Claudiu Beznea 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 Rob Herring writes: > 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 > --- > drivers/net/can/cc770/cc770_platform.c | 12 ++++++------ > drivers/net/ethernet/cadence/macb_main.c | 2 +- > drivers/net/ethernet/davicom/dm9000.c | 4 ++-- > drivers/net/ethernet/freescale/fec_main.c | 2 +- > drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 +- > drivers/net/ethernet/freescale/gianfar.c | 4 ++-- > drivers/net/ethernet/ibm/emac/core.c | 8 ++++---- > drivers/net/ethernet/ibm/emac/rgmii.c | 2 +- > drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c | 3 +-- > drivers/net/ethernet/sun/niu.c | 2 +- > drivers/net/ethernet/ti/cpsw-phy-sel.c | 3 +-- > drivers/net/ethernet/ti/netcp_ethss.c | 8 +++----- > drivers/net/ethernet/via/via-velocity.c | 3 +-- > drivers/net/ethernet/xilinx/ll_temac_main.c | 9 ++++----- > drivers/net/wan/fsl_ucc_hdlc.c | 11 +++-------- > drivers/net/wireless/ti/wlcore/spi.c | 3 +-- > net/ncsi/ncsi-manage.c | 4 ++-- > 17 files changed, 35 insertions(+), 47 deletions(-) For wireless: Acked-by: Kalle Valo -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel