]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal: netlink: Pass pointers to thermal_notify_tz_trip_change()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Jan 2024 11:49:57 +0000 (12:49 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 9 Jan 2024 12:30:55 +0000 (13:30 +0100)
commit7e72fc41d4243800206ff76615cfebb15d632027
tree59dc3f111cad6900faf607e1a4d680adc186b48d
parentf380846462b2d8341be303db954d4305d419b883
thermal: netlink: Pass pointers to thermal_notify_tz_trip_change()

Instead of requiring the caller of thermal_notify_tz_trip_change() to
provide specific values needed to populate struct param in it, make it
extract those values from objects passed to it by the caller via const
pointers.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_netlink.c
drivers/thermal/thermal_netlink.h
drivers/thermal/thermal_trip.c