diff options
author | Anson Huang <[email protected]> | 2020-02-22 08:08:49 +0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-03-12 11:40:57 +0100 |
commit | 34471abfc8fedcebf7c45a5e37ef383b8bb16de3 (patch) | |
tree | 7f83aabd1fa4ebbe3e672c8996d25614b959932d /lib/dynamic_debug.c | |
parent | 7dc6ffbd79c22b3a8433290a692c57e1917575a4 (diff) |
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 <[email protected]>
Reviewed-by: Dong Aisheng <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions