diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-02-22 03:08:49 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-03-12 13:40:57 +0300 |
commit | 34471abfc8fedcebf7c45a5e37ef383b8bb16de3 (patch) | |
tree | 7f83aabd1fa4ebbe3e672c8996d25614b959932d /drivers/thermal/Kconfig | |
parent | 7dc6ffbd79c22b3a8433290a692c57e1917575a4 (diff) | |
download | linux-34471abfc8fedcebf7c45a5e37ef383b8bb16de3.tar.xz |
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 'drivers/thermal/Kconfig')
0 files changed, 0 insertions, 0 deletions