[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB9PR04MB81066B40588B750F1A79906F88BE9@DB9PR04MB8106.eurprd04.prod.outlook.com>
Date: Tue, 14 Mar 2023 02:12:25 +0000
From: Wei Fang <wei.fang@....com>
To: Rob Herring <robh@...nel.org>,
Wolfgang Grandegger <wg@...ndegger.com>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
Shenwei Wang <shenwei.wang@....com>,
Clark Wang <xiaoning.wang@....com>,
dl-linux-imx <linux-imx@....com>,
Claudiu Manoil <claudiu.manoil@....com>,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Grygorii Strashko <grygorii.strashko@...com>,
Francois Romieu <romieu@...zoreil.com>,
Michal Simek <michal.simek@...inx.com>,
Qiang Zhao <qiang.zhao@....com>, Kalle Valo <kvalo@...nel.org>,
Samuel Mendoza-Jonas <sam@...dozajonas.com>
CC: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-can@...r.kernel.org" <linux-can@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-stm32@...md-mailman.stormreply.com"
<linux-stm32@...md-mailman.stormreply.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>
Subject: RE: [PATCH] net: Use of_property_read_bool() for boolean properties
> -----Original Message-----
> From: Rob Herring <robh@...nel.org>
> Sent: 2023年3月10日 22:47
> To: Wolfgang Grandegger <wg@...ndegger.com>; Marc Kleine-Budde
> <mkl@...gutronix.de>; David S. Miller <davem@...emloft.net>; Eric
> Dumazet <edumazet@...gle.com>; Jakub Kicinski <kuba@...nel.org>; Paolo
> Abeni <pabeni@...hat.com>; Nicolas Ferre <nicolas.ferre@...rochip.com>;
> Claudiu Beznea <claudiu.beznea@...rochip.com>; Wei Fang
> <wei.fang@....com>; Shenwei Wang <shenwei.wang@....com>; Clark Wang
> <xiaoning.wang@....com>; dl-linux-imx <linux-imx@....com>; Claudiu
> Manoil <claudiu.manoil@....com>; Giuseppe Cavallaro
> <peppe.cavallaro@...com>; Alexandre Torgue <alexandre.torgue@...s.st.com>;
> Jose Abreu <joabreu@...opsys.com>; Shawn Guo <shawnguo@...nel.org>;
> Sascha Hauer <s.hauer@...gutronix.de>; Pengutronix Kernel Team
> <kernel@...gutronix.de>; Fabio Estevam <festevam@...il.com>; Maxime
> Coquelin <mcoquelin.stm32@...il.com>; Grygorii Strashko
> <grygorii.strashko@...com>; Francois Romieu <romieu@...zoreil.com>; Michal
> Simek <michal.simek@...inx.com>; Qiang Zhao <qiang.zhao@....com>; Kalle
> Valo <kvalo@...nel.org>; Samuel Mendoza-Jonas <sam@...dozajonas.com>
> Cc: devicetree@...r.kernel.org; linux-can@...r.kernel.org;
> netdev@...r.kernel.org; linux-kernel@...r.kernel.org;
> linux-stm32@...md-mailman.stormreply.com;
> linux-arm-kernel@...ts.infradead.org; linux-omap@...r.kernel.org;
> linuxppc-dev@...ts.ozlabs.org; linux-wireless@...r.kernel.org
> Subject: [PATCH] net: Use of_property_read_bool() for boolean properties
>
> It is preferred to use typed property access functions (i.e.
> of_property_read_<type> 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 <robh@...nel.org>
> ---
> drivers/net/ethernet/freescale/fec_main.c | 2 +-
Reviewed-by: Wei Fang <wei.fang@....com>
Powered by blists - more mailing lists