aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2021-07-21 16:04:03 +0200
committerDaniel Lezcano <[email protected]>2021-08-14 15:42:30 +0200
commit22fc857538c3a256563bb796f978b6d4693f5aa3 (patch)
treef45f5f19c699b33363bdcd9b50d8d376f6fef1bd /include/linux/overflow.h
parentfb83610762dd5927212aa62a468dd3b756b57a88 (diff)
dt-bindings: thermal: Make trips node optional
Even though the previous binding made it a required child node, the implementation in Linux never made it mandatory and just ignored thermal zones without trip points. This was even effectively encouraged, since the thermal core wouldn't allow a thermal sensor to probe without a thermal zone. In the case where you had a thermal device that had multiple sensors but with enough knowledge to provide trip points for only a few of them, this meant that the only way to make that driver probe was to provide a thermal zone without the trips node required by the binding. This obviously led to a fair number of device trees doing exactly that, making the initial binding requirement ineffective. Let's make it clear by dropping that requirement. Cc: Amit Kucheria <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: [email protected] Cc: Zhang Rui <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions