From: Vinod Koul <vkoul@kernel.org>
To: Yuan Can <yuancan@huawei.com>
Cc: kishon@ti.com, linux-phy@lists.infradead.org
Subject: Re: [PATCH] phy: intel: Use dev_err_probe() to simplify code
Date: Sat, 24 Sep 2022 12:36:47 +0530 [thread overview]
Message-ID: <Yy6sh2UPeMefSpJQ@matsya> (raw)
In-Reply-To: <20220922111551.37188-1-yuancan@huawei.com>
On 22-09-22, 11:15, Yuan Can wrote:
> In the probe path, dev_err() can be replaced with dev_err_probe()
> which will check if error code is -EPROBE_DEFER and prints the
> error name. It also sets the defer probe reason which can be
> checked later through debugfs.
Applied, thanks
--
~Vinod
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
prev parent reply other threads:[~2022-09-24 7:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 11:15 [PATCH] phy: intel: Use dev_err_probe() to simplify code Yuan Can
2022-09-24 7:06 ` Vinod Koul [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=Yy6sh2UPeMefSpJQ@matsya \
--to=vkoul@kernel.org \
--cc=kishon@ti.com \
--cc=linux-phy@lists.infradead.org \
--cc=yuancan@huawei.com \
/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;
as well as URLs for NNTP newsgroup(s).