diff options
author | Rafael J. Wysocki <[email protected]> | 2024-08-19 17:56:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-08-22 17:43:14 +0200 |
commit | 0a0a40d71cf5f51123292982efde38f4b111aee9 (patch) | |
tree | 0f95eb48a6ed35d5647d1b0fcac894d8a856304f /lib/crypto/mpi/mpi-cmp.c | |
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 <[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 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions