summaryrefslogtreecommitdiffstats
path: root/lib/generic-radix-tree.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-02-22 01:08:49 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-03-12 11:40:57 +0100
commit34471abfc8fedcebf7c45a5e37ef383b8bb16de3 (patch)
tree7f83aabd1fa4ebbe3e672c8996d25614b959932d /lib/generic-radix-tree.c
parentdt-bindings: fsl: scu: add thermal binding (diff)
downloadlinux-34471abfc8fedcebf7c45a5e37ef383b8bb16de3.tar.xz
linux-34471abfc8fedcebf7c45a5e37ef383b8bb16de3.zip
thermal: of-thermal: add API for getting sensor ID from DT
This patch adds new API thermal_zone_of_get_sensor_id() to provide the feature of getting sensor ID from DT thermal zone's node. It's useful for thermal driver to register the specific thermal zone devices from DT in a common way. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1582330132-13461-2-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'lib/generic-radix-tree.c')
0 files changed, 0 insertions, 0 deletions