aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2018-07-10 16:40:35 +0100
committerEduardo Valentin <[email protected]>2018-07-27 14:43:21 -0700
commitf6b6b52ef7a54160c0a4d2b56a58f84a2e5b33c5 (patch)
tree4b442625a41927daf53f83b2317589cb0b3840a5 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent409ef0bacacf72c51cc876349ae3fdf7cf726d47 (diff)
thermal_hwmon: Pass the originating device down to hwmon_device_register_with_info
When registering the hwmon device, we pass NULL as the device. While this doesn't result in any immediate breakage, it leaves the hwmon device at the root of the virtual devices, rather than attached to the thermal zone hierarchy. Instead, let's pass the actual device, which is part of the thermal_zone_device structure. This also avoids the rather unpleasant ""NULL device *" which can be generated by dev_{err,info} in the hwmon subsystem. Signed-off-by: Marc Zyngier <[email protected]> Tested-by: Enric Balletbo i Serra <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions