OSDN Git Service

thermal: brcmstb_thermal: Register different ops per process
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 14 Jan 2020 19:06:07 +0000 (11:06 -0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 10:41:08 +0000 (11:41 +0100)
commit5fdd4e310b450939aac5486cd20e222a127cf114
tree096f20f0ddf92fc0e0ec4407090927dadbc1d394
parenteaf7a88d4f4c48efff77e0c66462d152d3334bcc
thermal: brcmstb_thermal: Register different ops per process

Since we do not have interrupts on BCM7216, we cannot have trip point
crossing, the thermal subsystem expects us to provide a NULL set_trips
operation in that case, so make it possible to provide per-process
thermal_zone_of_device_ops

Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200114190607.29339-7-f.fainelli@gmail.com
drivers/thermal/broadcom/brcmstb_thermal.c