summaryrefslogtreecommitdiff
path: root/drivers/thermal/ti-soc-thermal/dra752-thermal-data.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-07-16 17:41:51 +0300
committerEduardo Valentin <edubezval@gmail.com>2018-07-28 00:43:08 +0300
commitc9899c183921f919e10fe821be7de9fea876ba65 (patch)
tree3d411252d3f57186429a7d5dfa5c821db6a1d9aa /drivers/thermal/ti-soc-thermal/dra752-thermal-data.c
parent3d4e51844a4eb3c86e568bdcc9408602b46dc638 (diff)
downloadlinux-c9899c183921f919e10fe821be7de9fea876ba65.tar.xz
thermal: armada: use the resource managed registration helper alternative
Current use of thermal_zone_device_register() triggers a warning at boot and should be replaced by devm_thermal_zone_of_sensor_register(). This allows better handling of multiple thermal zones for later multi-sensors support. Also change the driver data to embed a new structure to make the difference between legacy data (which needs to be cleaned) and syscon-related data. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/dra752-thermal-data.c')
0 files changed, 0 insertions, 0 deletions