aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-08-19 17:56:15 +0200
committerRafael J. Wysocki <[email protected]>2024-08-22 17:43:14 +0200
commit0a0a40d71cf5f51123292982efde38f4b111aee9 (patch)
tree0f95eb48a6ed35d5647d1b0fcac894d8a856304f /tools/perf/scripts/python
parenteb3591cde1aee34c56b5dc96d9b247349827024f (diff)
thermal: sysfs: Use the dev argument in instance-related show/store
Two sysfs show/store functions for attributes representing thermal instances, trip_point_show() and weight_store(), retrieve the thermal zone pointer from the instance object at hand, but they may also get it from their dev argument, which is more consistent with what the other thermal sysfs functions do, so make them do so. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Zhang Rui <[email protected]> Acked-by: Huisong Li <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions