linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Minor thermal_hwmon cleanups
@ 2018-07-10 15:40 Marc Zyngier
  2018-07-10 15:40 ` [PATCH 1/2] thermal_hwmon: Sanitize attribute name passed to hwmon Marc Zyngier
  2018-07-10 15:40 ` [PATCH 2/2] thermal_hwmon: Pass the originating device down to hwmon_device_register_with_info Marc Zyngier
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Zyngier @ 2018-07-10 15:40 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin; +Cc: linux-pm, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-18  9:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10 15:40 [PATCH 0/2] Minor thermal_hwmon cleanups Marc Zyngier
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

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).