From: Chen-Yu Tsai <wenst@chromium.org>
To: Chen Jiahao <chenjiahao16@huawei.com>,
rafael@kernel.org, daniel.lezcano@linaro.org
Cc: amitk@kernel.org, rui.zhang@intel.com, matthias.bgg@gmail.com,
angelogioacchino.delregno@collabora.com,
aouledameur@baylibre.com, void0red@hust.edu.cn, robh@kernel.org,
daniel@makrotopia.org, linux-pm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH -next] thermal/drivers/mediatek: Remove repeating warn msg after devm_thermal_add_hwmon_sysfs()
Date: Fri, 4 Aug 2023 12:22:44 +0800 [thread overview]
Message-ID: <CAGXv+5H1LL-0FbcmuwRCtkmnWRmO0L4+0jxzKZeAzJKTWDiZqw@mail.gmail.com> (raw)
In-Reply-To: <20230803012341.2388831-1-chenjiahao16@huawei.com>
On Thu, Aug 3, 2023 at 9:24 AM Chen Jiahao <chenjiahao16@huawei.com> wrote:
>
> Referring to commit 8416ecfb32923 ("thermal/hwmon: Add error
> information printing for devm_thermal_add_hwmon_sysfs()"),
> return value has already been checked if ret != 0 in
> devm_thermal_add_hwmon_sysfs(). Error handling has also been
> performed in this case, including print warning message for
> debugging.
>
> Removing dev_warn() following devm_thermal_add_hwmon_sysfs()
> to clean up redundant warning message.
>
> Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
prev parent reply other threads:[~2023-08-04 4:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 1:23 [PATCH -next] thermal/drivers/mediatek: Remove repeating warn msg after devm_thermal_add_hwmon_sysfs() Chen Jiahao
2023-08-04 4:22 ` Chen-Yu Tsai [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=CAGXv+5H1LL-0FbcmuwRCtkmnWRmO0L4+0jxzKZeAzJKTWDiZqw@mail.gmail.com \
--to=wenst@chromium.org \
--cc=amitk@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=aouledameur@baylibre.com \
--cc=chenjiahao16@huawei.com \
--cc=daniel.lezcano@linaro.org \
--cc=daniel@makrotopia.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=rui.zhang@intel.com \
--cc=void0red@hust.edu.cn \
/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).