thermal: netlink: Pass pointers to thermal_notify_tz_trip_up/down()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Dec 2023 19:57:50 +0000 (20:57 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 9 Jan 2024 12:31:37 +0000 (13:31 +0100)
commitf52557edf0648b471e2006f9377ea0ba4f73f9b2
tree1e88200ceba3c898a717fb4e062b684f3ddbc42e
parent7e72fc41d4243800206ff76615cfebb15d632027
thermal: netlink: Pass pointers to thermal_notify_tz_trip_up/down()

Instead of requiring the callers of thermal_notify_tz_trip_up/down() to
provide specific values needed to populate struct param in them, make
them extract those values from objects passed by the callers 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_core.c
drivers/thermal/thermal_netlink.c
drivers/thermal/thermal_netlink.h