diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-08-19 17:56:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-08-22 17:43:14 +0200 |
commit | 0a0a40d71cf5f51123292982efde38f4b111aee9 (patch) | |
tree | 0f95eb48a6ed35d5647d1b0fcac894d8a856304f /scripts/gdb/linux/vmalloc.py | |
parent | eb3591cde1aee34c56b5dc96d9b247349827024f (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 <rafael.j.wysocki@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Huisong Li <lihuisong@huawei.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://patch.msgid.link/1987669.PYKUYFuaPT@rjwysocki.net
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions