summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2023-03-01 21:14:42 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-03-03 20:45:03 +0100
commit0adad0929621e1eb226b46eb3ac322a45da96c3c (patch)
treeab0c5f2822610d9ab91c0072bc615a7bcff71179 /kernel/signal.c
parentthermal: Use thermal_zone_device_type() accessor (diff)
downloadlinux-0adad0929621e1eb226b46eb3ac322a45da96c3c.tar.xz
linux-0adad0929621e1eb226b46eb3ac322a45da96c3c.zip
thermal/drivers/da9062: Don't access the thermal zone device fields
The driver is reading the passive polling rate in the thermal zone structure. We want to prevent the drivers to rummage around in the thermal zone structure. On the other side, the delay is what the driver passed to the thermal_zone_device_register() function, so it has already the information. Reuse the information we have instead of reading the information we set. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Adam Ward <DLG-Adam.Ward.opensource@dm.renesas.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions