From: Marc Zyngier <marc.zyngier@arm.com>
To: Zhang Rui <rui.zhang@intel.com>, Eduardo Valentin <edubezval@gmail.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] Minor thermal_hwmon cleanups
Date: Tue, 10 Jul 2018 16:40:33 +0100 [thread overview]
Message-ID: <20180710154035.26828-1-marc.zyngier@arm.com> (raw)
These two patches address a couple of minor issues I noticed while
hacking on a Chromebook (Google kevin platform).
The first one converts the device name passed to hwmon to containing
'_' instead of '-' (which hwmon barfs at).
The second one passes the thermal zone device to the hwmon subsystem,
making sure that messages from hwmon are not completely misleading,
and placing the related hwmon device at the correct spot in the
hierarchy.
Thanks,
M.
Marc Zyngier (2):
thermal_hwmon: Sanitize attribute name passed to hwmon
thermal_hwmon: Pass the originating device down to
hwmon_device_register_with_info
drivers/thermal/thermal_hwmon.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.18.0
next reply other threads:[~2018-07-10 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 15:40 Marc Zyngier [this message]
2018-07-10 15:40 ` [PATCH 1/2] thermal_hwmon: Sanitize attribute name passed to hwmon Marc Zyngier
2018-07-18 9:42 ` Enric Balletbo Serra
2018-07-10 15:40 ` [PATCH 2/2] thermal_hwmon: Pass the originating device down to hwmon_device_register_with_info Marc Zyngier
2018-07-18 9:43 ` Enric Balletbo Serra
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=20180710154035.26828-1-marc.zyngier@arm.com \
--to=marc.zyngier@arm.com \
--cc=edubezval@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.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
all inboxes | Powered by JetHome®