From: Richard Leitner <richard.leitner@linux.dev>
To: Rob Herring <robh@kernel.org>
Cc: Peter Chen <peter.chen@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
Minas Harutyunyan <hminas@synopsys.com>,
Alan Stern <stern@rowland.harvard.edu>,
Richard Leitner <richard.leitner@skidata.com>,
devicetree@vger.kernel.org, linux-usb@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: Use of_property_read_bool() for boolean properties
Date: Mon, 13 Mar 2023 08:40:01 +0100 [thread overview]
Message-ID: <20230313074001.GA24063@g0hl1n.net> (raw)
In-Reply-To: <20230310144729.1545857-1-robh@kernel.org>
On Fri, Mar 10, 2023 at 08:47:28AM -0600, Rob Herring wrote:
> 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@kernel.org>
> ---
> drivers/usb/chipidea/ci_hdrc_imx.c | 6 +++---
> drivers/usb/chipidea/core.c | 2 +-
> drivers/usb/dwc2/params.c | 3 +--
> drivers/usb/host/ehci-ppc-of.c | 6 +++---
> drivers/usb/host/fsl-mph-dr-of.c | 7 ++-----
> drivers/usb/misc/usb251xb.c | 33 ++++++++++++++----------------
> 6 files changed, 25 insertions(+), 32 deletions(-)
Thanks for the patch. Please feel free to add
Reviewed-by: Richard Leitner <richard.leitner@skidata.com>
for the usb251xb changes.
regards;rl
prev parent reply other threads:[~2023-03-13 7:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 14:47 Rob Herring
2023-03-13 7:40 ` Richard Leitner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230313074001.GA24063@g0hl1n.net \
--to=richard.leitner@linux.dev \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hminas@synopsys.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter.chen@kernel.org \
--cc=richard.leitner@skidata.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®